- Oct 26, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 220639
-
Elena Demikhovsky authored
llvm-svn: 220638
-
Alexey Samsonov authored
llvm-svn: 220637
-
Alexey Samsonov authored
llvm-svn: 220636
-
Alexey Samsonov authored
introduce a BufferedStackTrace class, which owns this array. Summary: This change splits __sanitizer::StackTrace class into a lightweight __sanitizer::StackTrace, which doesn't own array of PCs, and BufferedStackTrace, which owns it. This would allow us to simplify the interface of StackDepot, and eventually merge __sanitizer::StackTrace with __tsan::StackTrace. Test Plan: regression test suite. Reviewers: kcc, dvyukov Reviewed By: dvyukov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5985 llvm-svn: 220635
-
Alexander Kornienko authored
Summary: Make the script suitable for checking just messages. Move most of the tests to use it. Clean up the tests: shorten messages, insert line numbers, remove unnecessary RUN: lines, etc. Reviewers: klimek Reviewed By: klimek Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D5989 llvm-svn: 220634
-
Alexander Kornienko authored
Simplify RUN lines and make checks stricter, check messages instead of fixes. llvm-svn: 220633
-
Alexander Kornienko authored
llvm-svn: 220632
-
Alexander Kornienko authored
Summary: Register readability checks in a separate module. Renamed the checks and test file names accordingly. Reviewers: djasper, klimek Reviewed By: klimek Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D5936 llvm-svn: 220631
-
Saleem Abdulrasool authored
Refactor the path search into a helper function to avoid duplicating the path handling for the search. NFC. llvm-svn: 220628
-
- Oct 25, 2014
-
-
Saleem Abdulrasool authored
Use the __BYTE_ORDER__ macro which has been available in GCC since 4.6 and is available in clang as well. llvm-svn: 220626
-
Saleem Abdulrasool authored
Add a fake linker in to a sysroot to use for testing the driver's tool invocation. Should make the test behave similarly on all platforms. Addresses review comments from Reid Kleckner from SVN r220546. llvm-svn: 220625
-
Saleem Abdulrasool authored
Rather than asserting that the target is unsupported, make a guess at what the tree for a port would look like and use that for the search path. Addresses review comments from Ried Kleckner for SVN r220547. llvm-svn: 220624
-
Andrew Trick authored
Combine the Inserted an Done sets into a Visited set. llvm-svn: 220623
-
Andrew Trick authored
This is a simple fix that brings the compilation time from 5min to 5s on a specific real-world example. It's a large chain of computation in a crypto routine (always a problem for SCEV). A unit test is not feasible and there would be no way to check it. The fix is just basic good practice for dealing with SCEVs, there's no risk of regression. Patch by Daniel Reynaud! llvm-svn: 220622
-
Peter Zotov authored
llvm-svn: 220621
-
Peter Zotov authored
First, return true on success, as it is the OCaml convention. Second, also initialize the native assembly printer, which is, despite the name, required for MCJIT operation. Since this function did not initialize the assembly printer earlier and no function to initialize native assembly printer was available elsewhere, it is safe to break its interface: it means that it simply could not be used successfully before. llvm-svn: 220620
-
Peter Zotov authored
llvm-svn: 220619
-
Jingyue Wu authored
The dividend in "signed % unsigned" is treated as unsigned instead of signed, causing unexpected behavior such as -64 % (uint64_t)24 == 0. Added a regression test in split-gep.ll Patched by Hao Liu. llvm-svn: 220618
-
Benjamin Kramer authored
llvm-svn: 220617
-
Benjamin Kramer authored
Also make it const safe and remove superfluous casting. NFC. llvm-svn: 220616
-
Jingyue Wu authored
The two operands of the new OR expression should be NextInChain and TheOther instead of the two original operands. Added a regression test in split-gep.ll. Hao Liu reported this bug, and provded the test case and an initial patch. Thanks! llvm-svn: 220615
-
David Majnemer authored
We would crash because we used operator[] to access past the end of a SmallString. This occured because our token had length zero. Instead, form the pointer using .data() and arithmetic. This is safe because this forms a one-past-the-end pointer and it is only used to compare with another one-past-the-end pointer. This fixes PR21379. llvm-svn: 220614
-
Simon Pilgrim authored
Tidied up some entries in the folding tables so that they are under the correct comment section (they were categorised as AVX2 instructions when they're AVX1). Minor patch agreed with qcolombet. llvm-svn: 220613
-
David Majnemer authored
These asserts can trigger if the worklist iteration order is sufficiently unlucky. Instead of adding special case logic to handle these edge conditions, just bail out on trying to transform them: InstSimplify will get them when it reaches them on the worklist. This fixes PR21378. N.B. No test case is included because any test would rely on the fragile worklist iteration order. llvm-svn: 220612
-
Rafael Espindola authored
Should fix the Ocaml tests. llvm-svn: 220611
-
Rafael Espindola authored
llvm-svn: 220610
-
Rafael Espindola authored
llvm-svn: 220609
-
Rafael Espindola authored
Instead of passing a std::string&, use the new diagnostic infrastructure. llvm-svn: 220608
-
Jingyue Wu authored
Summary: Fixes PR21100 which is caused by inconsistency between the declared return type and the expected return type at the call site. The new behavior is consistent with nvcc and the NVPTXTargetLowering::getPrototype function. Test Plan: test/Codegen/NVPTX/vector-return.ll Reviewers: jholewinski Reviewed By: jholewinski Subscribers: llvm-commits, meheff, eliben, jholewinski Differential Revision: http://reviews.llvm.org/D5612 llvm-svn: 220607
-
Rafael Espindola authored
llvm-svn: 220604
-
Rafael Espindola authored
llvm-svn: 220603
-
Jim Ingham authored
Setting breakpoints with name mask eFunctionNameTypeBase was broken for straight C names by 220432. Get that working again. llvm-svn: 220602
-
Evgeniy Stepanov authored
Allow (under the experimental flag) non-Instructions to participate in MSan checks. llvm-svn: 220601
-
Rafael Espindola authored
llvm-svn: 220600
-
Kevin Enderby authored
In a Mach-O object file a relocatable expression of the form SymbolA - SymbolB + constant is allowed when both symbols are defined in a section. But when either symbol is undefined it is an error. The code was crashing when it had an undefined symbol in this case. And should have printed a error message using the location information in the relocation entry. rdar://18678402 llvm-svn: 220599
-
Nick Kledzik authored
Objective-C switched to a new ABI which uses a different mangling for class names. But to keep projects building that use export lists that use the old class name mangling, the linker recognizes the old names and transforms them to the new mangling. llvm-svn: 220598
-
Nick Kledzik authored
In final linked shared images, the __TEXT segment contains both code and the mach-o header/load-commands. In the case of a data-only dylib, there is no code, so we need to force the addition of the __TEXT segment. llvm-svn: 220597
-
Zachary Turner authored
llvm-svn: 220596
-
David Majnemer authored
The MS linker cannot do anything interesting with these, it doesn't make sense to emit them. This fixes PR21373. Differential Revision: http://reviews.llvm.org/D5986 llvm-svn: 220595
-