- Jul 19, 2013
-
-
Rafael Espindola authored
llvm-svn: 186676
-
- Jul 18, 2013
-
-
Reid Kleckner authored
The plan is to use it for clang and lld. Major behavior changes: - We can now parse UTF-16 files that have a byte order mark. - PR16209: Don't drop backslashes on the floor if they don't escape anything. The actual parsing loop was based on code from Clang's driver.cpp, although it's been rewritten to track its state with control flow rather than state variables. Reviewers: hans Differential Revision: http://llvm-reviews.chandlerc.com/D1170 llvm-svn: 186587
-
Rafael Espindola authored
llvm-svn: 186561
-
Rafael Espindola authored
We don't want cast and dyn_cast to work on temporaries. They don't extend lifetime like a direct bind to a reference would, so they can introduce hard to find bugs. I added tests to make sure we don't regress this. Thanks to Eli Friedman for noticing this and for his suggestions on how to test it. llvm-svn: 186559
-
- Jul 16, 2013
-
-
Rafael Espindola authored
This centralizes the handling of O_BINARY and opens the way for hiding more differences (like how open behaves with directories). llvm-svn: 186447
-
Reid Kleckner authored
This is to support parsing UTF16 response files in LLVM/lib/Option for lld and clang. Reviewers: hans Differential Revision: http://llvm-reviews.chandlerc.com/D1138 llvm-svn: 186426
-
NAKAMURA Takumi authored
llvm-svn: 186375
-
NAKAMURA Takumi authored
llvm-svn: 186372
-
- Jul 08, 2013
-
-
Rafael Espindola authored
llvm-svn: 185834
-
- Jul 06, 2013
-
-
Rafael Espindola authored
llvm-svn: 185730
-
- Jul 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 185719
-
- Jun 28, 2013
-
-
Jakob Stoklund Olesen authored
llvm-svn: 185226
-
Jakob Stoklund Olesen authored
Allow a BlockFrequency to be divided by a non-zero BranchProbability with saturating arithmetic. This will be used to compute the frequency of a loop header given the probability of leaving the loop. Our long division algorithm already saturates on overflow, so that was a freebie. llvm-svn: 185184
-
- Jun 27, 2013
-
-
Rafael Espindola authored
There are a few valid situation where we care about the structure inside a directory, but not about the directory itself. A simple example is for unit testing directory traversal. PathV1 had a function like this, add one to V2 and port existing users of the created temp file and delete it hack to using it. llvm-svn: 185059
-
- Jun 26, 2013
-
-
Rafael Espindola authored
llvm itself is now PathV1 clean. llvm-svn: 184947
-
Rafael Espindola authored
I will remove the V1 version as soon as I change clang in the next commit. llvm-svn: 184914
-
- Jun 21, 2013
-
-
Benjamin Kramer authored
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability." This reverts commit r184584. Breaks PPC selfhost. llvm-svn: 184590
-
Benjamin Kramer authored
Zero is used by BlockFrequencyInfo as a special "don't know" value. It also causes a sink for frequencies as you can't ever get off a zero frequency with more multiplies. This recovers a 10% regression on MultiSource/Benchmarks/7zip. A zero frequency was propagated into an inner loop causing excessive spilling. PR16402. llvm-svn: 184584
-
- Jun 20, 2013
-
-
Rafael Espindola authored
llvm-svn: 184431
-
- Jun 19, 2013
-
-
Aaron Ballman authored
Modified the implementation of fs::GetUniqueID on Windows such that it actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. llvm-svn: 184351
-
- Jun 13, 2013
-
-
Rafael Espindola authored
llvm-svn: 183940
-
- Jun 12, 2013
-
-
Rafael Espindola authored
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details. llvm-svn: 183864
-
Rafael Espindola authored
Most clients have already been moved from Path V1 to V2. The ones using V1 now include PathV1.h explicitly. llvm-svn: 183801
-
- Jun 08, 2013
-
-
Aaron Ballman authored
sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman! llvm-svn: 183621
-
- Jun 01, 2013
-
-
Eric Christopher authored
llvm-svn: 183054
-
Eric Christopher authored
llvm-svn: 183053
-
- May 30, 2013
-
-
Eric Christopher authored
llvm-svn: 182900
-
- May 25, 2013
-
-
Eric Christopher authored
llvm-svn: 182693
-
Eric Christopher authored
Add a stringize method to make dumping a bit easier, and add a testcase exercising a few different paths. llvm-svn: 182692
-
Michael J. Spencer authored
llvm-svn: 182690
-
Michael J. Spencer authored
llvm-svn: 182679
-
- May 24, 2013
-
-
Michael J. Spencer authored
llvm-svn: 182667
-
- May 14, 2013
-
-
Duncan Sands authored
-DLLVM_ENABLE_THREADS=false. llvm-svn: 181788
-
- May 06, 2013
-
-
Andrew Trick authored
Implemented public interface for modifying registered (not positional or sink options) command line options at runtime. Patch by Dan Liew! llvm-svn: 181254
-
Andrew Trick authored
Patch by Dan Liew! llvm-svn: 181253
-
- Apr 30, 2013
-
-
Reid Kleckner authored
This seemed like the cleanest way to find the test executable. Also fix the file mode. llvm-svn: 180770
-
- Apr 24, 2013
-
-
Reid Kleckner authored
That seems to interact poorly with the environ and _environ macros defined in MSVC's <stdlib.h>. Also remove the incorrect comment about _NSGetEnviron(). llvm-svn: 180200
-
- Apr 23, 2013
-
-
Reid Kleckner authored
This was r180041 and r180046, which was reverted in r180066. Re-committing this should fix the dragonegg bootstrap, which I presume needs LD_LIBRARY_PATH to be propagated to the child. Tested on Linux, Windows, and Mac OS 10.6. llvm-svn: 180099
-
Alexey Samsonov authored
llvm-svn: 180084
-
Alexey Samsonov authored
Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools. llvm-svn: 180083
-