- Mar 29, 2013
-
-
Rafael Espindola authored
This reverts commit 617330909f0c26a3f2ab8601a029b9bdca48aa61. It broke the bots: /home/clangbuild2/clang-ppc64-2/llvm.src/unittests/ADT/SmallVectorTest.cpp:150: PushPopTest /home/clangbuild2/clang-ppc64-2/llvm.src/unittests/ADT/SmallVectorTest.cpp:118: Failure Value of: v[i].getValue() Actual: 0 Expected: value Which is: 2 llvm-svn: 178334
-
Jean-Luc Duprat authored
being power-of-two sized. llvm-svn: 178332
-
- Mar 27, 2013
-
-
Chad Rosier authored
likely the crash diagnostics generation will fail as well. Part of rdar://13296693 llvm-svn: 178163
-
Chad Rosier authored
if crash diagnostics should be generated. By default this is enabled. Part of rdar://13296693 llvm-svn: 178161
-
Chad Rosier authored
if execution failed. ExecuteAndWait returns -1 upon an execution failure, but checking the return value isn't sufficient because the wait command may return -1 as well. This new parameter is to be used by the clang driver in a subsequent commit. Part of rdar://13362359 llvm-svn: 178087
-
- Mar 26, 2013
-
-
Nick Lewycky authored
llvm-svn: 177963
-
Nick Lewycky authored
it's only really useful if you're going to crash anyways. Use it in the pretty stack trace printer to kill the compiler if we hang while printing the stack trace. llvm-svn: 177962
-
- Mar 22, 2013
-
-
Chandler Carruth authored
-time-ir-parsing flag This breaks the layering of the Support library. We can't add an implementation side to IRReader because it refers directly to entities only accessible as part of the IR, AsmParser, and BitcodeReader libraries. It can only be used in a context where all of those libraries will be available. We'll need to find some other way to get this functionality, and hopefully solve the long-standing layering problem of IRReader.h... llvm-svn: 177695
-
- Mar 21, 2013
-
-
rdar://problem/13477190Douglas Gregor authored
<rdar://problem/13477190> On Darwin, use DARWIN_USER_TEMP_DIR or DARWIN_USER_CACHE_DIR for the system temporary directory. The DARWIN_USER_TEMP_DIR and DARWIN_USER_CACHE_DIR configuration settings are more idiomatic for Darwin than the TMPDIR environment variable. llvm-svn: 177669
-
Jakub Staszak authored
They are generally faster (at least not slower) than post-inc, post-dec. llvm-svn: 177608
-
- Mar 20, 2013
-
-
Eli Bendersky authored
llvm-svn: 177543
-
Hao Liu authored
llvm-svn: 177472
-
- Mar 15, 2013
-
-
Michael J. Spencer authored
llvm-svn: 177175
-
- Mar 14, 2013
-
-
Akira Hatanaka authored
Patch by Stephen Hines. llvm-svn: 177101
-
Michael J. Spencer authored
Clients of MemoryBuffer::getOpenFile expect it not to take ownership of the file descriptor passed in. So don't. llvm-svn: 176995
-
- Mar 13, 2013
-
-
Matt Beaumont-Gay authored
This was tickled by a Clang diagnostic; Clang test case to follow. llvm-svn: 176911
-
- Mar 12, 2013
-
-
Michael J. Spencer authored
Patch by Paul Robinson. llvm-svn: 176908
-
Michael J. Spencer authored
This gives us memory mapped file I/O on Windows. llvm-svn: 176886
-
- Mar 10, 2013
-
-
Craig Topper authored
Remove an unused member variable from HelpPrinter. Move another member variable to be a local variable in the only method that uses it. llvm-svn: 176778
-
- Mar 08, 2013
-
-
Jan Wen Voung authored
Summary: Statistics are still available in Release+Asserts (any +Asserts builds), and stats can also be turned on with LLVM_ENABLE_STATS. Move some of the FastISel stats that were moved under DEBUG() back out of DEBUG(), since stats are disabled across the board now. Many tests depend on grepping "-stats" output. Move those into a orig_dir/Stats/. so that they can be marked as unsupported when building without statistics. Differential Revision: http://llvm-reviews.chandlerc.com/D486 llvm-svn: 176733
-
- Mar 01, 2013
-
-
Argyrios Kyrtzidis authored
The sys::fs::is_directory() check is unnecessary because, if the filename is a directory, the function will fail anyway with the same error code returned. Remove the check to avoid an unnecessary stat call. Someone needs to review on windows and see if the check is necessary there or not. llvm-svn: 176386
-
- Feb 28, 2013
-
-
Argyrios Kyrtzidis authored
[PathV2] In llvm::sys::fs::unique_file, make sure it doesn't fall into an infinite loop by constantly trying to create the parent path. This can happen if the path is a relative filename and the current directory was removed. Thanks to Daniel D. for the hint in fixing it. llvm-svn: 176226
-
- Feb 26, 2013
-
-
Roman Divacky authored
llvm-svn: 176130
-
- Feb 21, 2013
-
-
Eli Bendersky authored
to lib/DebugInfo, with dumping in llvm-dwarfdump. This patch adds initial ability to parse and dump CFA instructions contained in entries. To keep it manageable, the patch omits some more advanced capabilities (accounted in TODOs): * Parsing of instructions with BLOCK arguments (expression lists) * Dumping of actual instruction arguments (currently only names are dumped). This is quite tricky since the dumper has to effectively "interpret" the instructions. llvm-svn: 175820
-
David Blaikie authored
This implementation of NoneType/None does have some holes but I haven't found one that doesn't - open to improvement. llvm-svn: 175696
-
Pedro Artigas authored
missed before but probably what was intended. llvm-svn: 175687
-
- Feb 20, 2013
-
-
Erik Verbruggen authored
llvm-svn: 175682
-
Dan Gohman authored
llvm-svn: 175651
-
Krzysztof Parzyszek authored
llvm-svn: 175650
-
Dan Gohman authored
llvm-svn: 175648
-
Krzysztof Parzyszek authored
loads. On FreeBSD, add PROT_READ page protection flag before flushing cache. llvm-svn: 175646
-
Jakub Staszak authored
require call cpp file anyway, so we wouldn't gain anything by keeping them inline. llvm-svn: 175579
-
- Feb 19, 2013
-
-
Dan Gohman authored
which uses it. This is not ideal, but it ought to at least restore the behavior to what it was before. llvm-svn: 175571
-
Dan Gohman authored
character devices. llvm-svn: 175549
-
Dan Gohman authored
/dev/stdin as an input when stdin is connected to a tty, for example. No test, because it's difficult to write a reasonably portable test for this. /dev/stdin isn't a character device when stdin is redirected from a file or connected to a pipe. llvm-svn: 175542
-
Alexey Samsonov authored
Fix initialization-order bug in llvm::Support::TimeValue. TimeValue::now() is explicitly called during module initialization of lib/Support/Process.cpp. It reads the field of global object PosixZeroTime, which is not guaranteed to be initialized at this point. Found by AddressSanitizer with -fsanitize=init-order option. llvm-svn: 175509
-
- Feb 15, 2013
-
-
Benjamin Kramer authored
llvm-svn: 175264
-
- Feb 14, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 175156
-
- Feb 12, 2013
-
-
Guy Benyei authored
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
-
- Feb 04, 2013
-
-
Evgeniy Stepanov authored
This change lets us bootstrap LLVM/Clang under ASan and MSan. It contains fixes for 2 issues: - X86JIT reads return address from stack, which MSan does not know is initialized. - bugpoint tests run binaries with RLIMIT_AS. This does not work with certain Sanitizers. We are no longer including config.h in Compiler.h with this change. llvm-svn: 174306
-