<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clang/lib/Basic/FileManager.cpp, branch release-3.2</title>
<subtitle>Unofficial clang GIT mirror used in EmbToolkit
</subtitle>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/'/>
<entry>
<title>Basic: Windows doesn't define S_IFIFO.</title>
<updated>2012-11-06T17:08:24+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2012-11-06T17:08:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=6a1f49423baf6fa0358f396f0d926a3263cb5ff9'/>
<id>6a1f49423baf6fa0358f396f0d926a3263cb5ff9</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167468 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167468 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Frontend: Add support for reading named pipes as the main file.</title>
<updated>2012-11-05T22:53:33+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2012-11-05T22:53:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=ce36ecd5a509af8fc5924d21694df36e8bc94a95'/>
<id>ce36ecd5a509af8fc5924d21694df36e8bc94a95</id>
<content type='text'>
 - The whole {File,Source}Manager is built around wanting to pre-determine the
   size of files, so we can't fit this in naturally. Instead, we handle it like
   we do STDIN, where we just replace the main file contents upfront.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167419 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - The whole {File,Source}Manager is built around wanting to pre-determine the
   size of files, so we can't fit this in naturally. Instead, we handle it like
   we do STDIN, where we just replace the main file contents upfront.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167419 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes a segfault in Tooling when using pch's:</title>
<updated>2012-07-31T13:56:54+00:00</updated>
<author>
<name>Manuel Klimek</name>
<email>klimek@google.com</email>
</author>
<published>2012-07-31T13:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=98be86038b1e891a05583061c55dfa974150eb2c'/>
<id>98be86038b1e891a05583061c55dfa974150eb2c</id>
<content type='text'>
Clear the FileManager's stat cache in between running
translation units, as the stat cache loaded from a pch
is only valid for one compiler invocation.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161047 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clear the FileManager's stat cache in between running
translation units, as the stat cache loaded from a pch
is only valid for one compiler invocation.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161047 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce a flag in SourceManager to treat non-system source files</title>
<updated>2012-07-11T20:59:04+00:00</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2012-07-11T20:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=ff398965a5abfaf5bc47bc022876f56a28e5b9a7'/>
<id>ff398965a5abfaf5bc47bc022876f56a28e5b9a7</id>
<content type='text'>
as "volatile", meaning there's a high enough chance that they may
change while we are trying to use them.

This flag is only enabled by libclang.
Currently "volatile" source files will be stat'ed immediately
before opening them, because the file size stat info
may not be accurate since when we got it (e.g. from the PCH).
This avoids crashes when trying to reference mmap'ed memory
from a file whose size is not what we expect.

Note that there's still a window for a racing issue to occur
but the window for it should be way smaller than before.
We can consider later on to avoid mmap completely on such files.

rdar://11612916

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160074 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as "volatile", meaning there's a high enough chance that they may
change while we are trying to use them.

This flag is only enabled by libclang.
Currently "volatile" source files will be stat'ed immediately
before opening them, because the file size stat info
may not be accurate since when we got it (e.g. from the PCH).
This avoids crashes when trying to reference mmap'ed memory
from a file whose size is not what we expect.

Note that there's still a window for a racing issue to occur
but the window for it should be way smaller than before.
We can consider later on to avoid mmap completely on such files.

rdar://11612916

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160074 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>LLVM_ON_WIN32 case: use the proper key in the UniqueFiles map.</title>
<updated>2012-07-11T09:41:34+00:00</updated>
<author>
<name>Axel Naumann</name>
<email>Axel.Naumann@cern.ch</email>
</author>
<published>2012-07-11T09:41:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=be779598aa70a71c56e5d576947ade53e249c602'/>
<id>be779598aa70a71c56e5d576947ade53e249c602</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160041 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160041 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve r159256 following Chandler's comments:</title>
<updated>2012-07-10T16:50:27+00:00</updated>
<author>
<name>Axel Naumann</name>
<email>Axel.Naumann@cern.ch</email>
</author>
<published>2012-07-10T16:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=5ba0559f2f0ddd62de16547af514dbaf93b79585'/>
<id>5ba0559f2f0ddd62de16547af514dbaf93b79585</id>
<content type='text'>
Implement UniqueFileContainer::erase(), camelCase, add comment on future optimizations of the cache versus de-optimizations of invalidations.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159997 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement UniqueFileContainer::erase(), camelCase, add comment on future optimizations of the cache versus de-optimizations of invalidations.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159997 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for r159256 on Windows.</title>
<updated>2012-06-27T11:42:56+00:00</updated>
<author>
<name>Axel Naumann</name>
<email>Axel.Naumann@cern.ch</email>
</author>
<published>2012-06-27T11:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=446ba14432b68e5d37472180fcd4d8144207c5c5'/>
<id>446ba14432b68e5d37472180fcd4d8144207c5c5</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159262 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159262 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>From Vassil Vassilev:</title>
<updated>2012-06-27T09:17:42+00:00</updated>
<author>
<name>Axel Naumann</name>
<email>Axel.Naumann@cern.ch</email>
</author>
<published>2012-06-27T09:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=3ce42c37b0ef6b10538f5040a33d19a6e6988d05'/>
<id>3ce42c37b0ef6b10538f5040a33d19a6e6988d05</id>
<content type='text'>
add interface for removing a FileEntry from the cache.
Forces a re-read the contents from disk, e.g. because a tool (like cling) wants to pick up a modified file.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159256 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add interface for removing a FileEntry from the cache.
Forces a re-read the contents from disk, e.g. because a tool (like cling) wants to pick up a modified file.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159256 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>clang/lib/Basic/FileManager.cpp: Detect the root directory with PathV2. It should be better fix for PR10331, or, "clang X:\foo.c" fails.</title>
<updated>2012-06-16T06:04:10+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2012-06-16T06:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=759a4b40cab9dd04683a548f998ebe2e443ca6b4'/>
<id>759a4b40cab9dd04683a548f998ebe2e443ca6b4</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158596 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158596 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation cleanup: delete doc comments from source files where they are</title>
<updated>2012-06-15T21:30:06+00:00</updated>
<author>
<name>James Dennett</name>
<email>jdennett@google.com</email>
</author>
<published>2012-06-15T21:30:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.embtoolkit.org/clang/commit/?id=d3e8eda9a685e95c29ccea52977c0e32a422e563'/>
<id>d3e8eda9a685e95c29ccea52977c0e32a422e563</id>
<content type='text'>
broken duplicates of comments that are in the corresponding header files.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158550 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
broken duplicates of comments that are in the corresponding header files.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158550 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
</feed>
