Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.19 -> 1.20
---
Log message:
Fix a bug where the bcreader could crash on .bc files that were an exact
multiple of the page size, due to a bug in MappedFile
---
Diffs of the changes: (+1 -0)
MappedFile.inc |1 +
1 files
On Mar 30, 2007, at 7:49 AM, Jeff Cohen wrote:
> Chris Lattner wrote:
>>> Use the stat information in the Path object, if it is already
>>> obtained. This
>>> avoids a call to ::fstat by MappedFile when the file size
>>> information was
>>> already obtained by the Path object.
>>>
>>
>> Int
Chris Lattner wrote:
>> Use the stat information in the Path object, if it is already
>> obtained. This
>> avoids a call to ::fstat by MappedFile when the file size
>> information was
>> already obtained by the Path object.
>>
>
> Interesting approach. The problem is that fstat is signifi
> Use the stat information in the Path object, if it is already
> obtained. This
> avoids a call to ::fstat by MappedFile when the file size
> information was
> already obtained by the Path object.
Interesting approach. The problem is that fstat is significantly
faster than stat. How about
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.18 -> 1.19
---
Log message:
Use the stat information in the Path object, if it is already obtained. This
avoids a call to ::fstat by MappedFile when the file size information was
already obtained by the Path object.
---
Diff
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.17 -> 1.18
Signals.inc updated: 1.14 -> 1.15
Unix.h updated: 1.18 -> 1.19
---
Log message:
For PR797: http://llvm.org/PR797 :
Make the Win32 code exception free (untested/uncompiled) which forced some
interface changes which h
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.16 -> 1.17
---
Log message:
For PR797: http://llvm.org/PR797 :
Make MappedFile not throw any exceptions.
---
Diffs of the changes: (+15 -10)
MappedFile.inc | 25 +++--
1 files changed, 15 insertions(
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.15 -> 1.16
---
Log message:
simple optimization: don't bother calling "exists" (which calls the syscall
"access"). Instead, just let the open call fail if the file doesn't exist.
This reduces the # syscalls executed.
---
Di
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.14 -> 1.15
---
Log message:
Remove a dead conditional: info_ can only be allocated if FD is good. Improve
spacing
---
Diffs of the changes: (+4 -5)
MappedFile.inc |9 -
1 files changed, 4 insertions(+), 5 del
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.13 -> 1.14
---
Log message:
The only entry in the stat buf this code cares about is the size. Keep just
the size, not the whole stat buffer.
---
Diffs of the changes: (+14 -14)
MappedFile.inc | 28 ++---
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.12 -> 1.13
---
Log message:
Reduce code in the error path by only allocating info_ if everything looks
good.
---
Diffs of the changes: (+8 -10)
MappedFile.inc | 18 --
1 files changed, 8 insertions(+), 1
Changes in directory llvm/lib/System/Unix:
MappedFile.inc updated: 1.11 -> 1.12
---
Log message:
Unindent some code
---
Diffs of the changes: (+24 -25)
MappedFile.inc | 49 -
1 files changed, 24 insertions(+), 25 deletions(-)
Index: llvm/
12 matches
Mail list logo