[cfe-dev] Why not set file size when inserting FileEntry?

Chris Lattner clattner at apple.com
Mon May 25 14:38:43 PDT 2009


On May 18, 2009, at 8:05 AM, Zhongxing Xu wrote:

> Hi,
>
> At FileManager.cpp:123, when inserting a new FileEntry, its size is
> not set. That causes that when getting memory buffer for the main file
> at MemoryBuffer.cpp:176, FileSize is always 0. Is this a bug?

Did you get an answer on this?  How does this problem manifest?

-Chris




More information about the cfe-dev mailing list