- Oct 27, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 220668
-
Rui Ueyama authored
This reverts commit r220665. llvm-svn: 220667
-
Rui Ueyama authored
r220665 makes configure or CMake to set HAVE_CXXABI_H on FreeBSD 10.0. We don't need this ugly ifdef condition anymore. llvm-svn: 220666
-
Rui Ueyama authored
On FreeBSD 10.0, size_t needs to be defined before including cxxabi.h. Currenty HAVE_CXXABI_H is not defined on FreeBSD because of that reason. This patch teaches cmake and configure how to include it. http://reviews.llvm.org/D5940 llvm-svn: 220665
-
David Majnemer authored
An icmp may have pointer arguments, it isn't limited to integers or vectors of integers. This fixes PR21388. llvm-svn: 220664
-
Alexey Samsonov authored
llvm-svn: 220663
-
Rafael Espindola authored
llvm-svn: 220662
-
Todd Fiala authored
llvm-svn: 220661
-
Todd Fiala authored
llvm-svn: 220660
-
Eric Christopher authored
llvm-svn: 220659
-
David Blaikie authored
llvm-svn: 220658
-
- Oct 26, 2014
-
-
Benjamin Kramer authored
This eliminates converting back and forth between the 3 formats and gives us a more homogeneous interface. llvm-svn: 220657
-
Todd Fiala authored
All of these test fixups are prep work for when llgs is running with llgs for local process debugging, where these tests fail without the ptracer lock-down suppression. llvm-svn: 220656
-
Lang Hames authored
llvm-svn: 220655
-
Todd Fiala authored
Similar to previous fix, this augments the test inferior to immediately indicate it may be ptraced by any Linux process when the appropriate symbols are defined. This seems to indicate we need to fix our lldb attach logic to catch when an attach fails, and trigger an appropriate error instead of the current behavior of hanging indefinitely. llvm-svn: 220654
-
Lang Hames authored
Hopefully this fixes the bug that was introduced in r220642, and not-quite-fixed in r220649. llvm-svn: 220653
-
Arnold Schwaighofer authored
We used to always vectorize (slp and loop vectorize) in the LTO pass pipeline. r220345 changed it so that we used the PassManager's fields 'LoopVectorize' and 'SLPVectorize' out of the desire to be able to disable vectorization using the cl::opt flags 'vectorize-loops'/'slp-vectorize' which the before mentioned fields default to. Unfortunately, this turns off vectorization because those fields default to false. This commit adds flags to the LTO library to disable lto vectorization which reconciles the desire to optionally disable vectorization during LTO and the desired behavior of defaulting to enabled vectorization. We really want tools to set PassManager flags directly to enable/disable vectorization and not go the route via cl::opt flags *in* PassManagerBuilder.cpp. llvm-svn: 220652
-
Hafiz Abid Qadeer authored
HostThreadWindows::Join() did not call the Reset as is done by the HostThreadPosix::Join(). As a result, future call to IsJoinable() can fail. Committed as obvious. llvm-svn: 220651
-
Todd Fiala authored
Similar to a recent test I fixed for gdb-remote attach scenarios, this fix is for Linux kernels, such as Ubuntu's stock setup on 11.04-ish and later, where ptrace starts requiring a ptracer to be an ancestor of the inferior to be ptraced. This change checks for Linux and the ptrace-related flags. If they're found, it tries to switch on the "allow any ptracer" mode for the inferior as the first statements in the program. It's a best-effort solution - if the prctl call fails, the failure is ignored, and probably will lead to the test failing. The ptrace security behavior can be modified system-wide, but is outside the scope of the test to address. Hence I went with this particular solution. llvm-svn: 220650
-
Lang Hames authored
Apparently unique_ptr'ifying NodeMetadata exposed an issue in VS where it occasionally tries to synthesize copy constructors instead of moves. Hopefully explicitly deleting the copy constructor and defining the move constructor will fix this. llvm-svn: 220649
-
Peter Zotov authored
Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220648
-
Marshall Clow authored
Change the comment on the closing #endif to match the condition on the corresponding #ifdef. Thanks to K-ballo for the catch. No functionality change. llvm-svn: 220647
-
Hans Wennborg authored
llvm-svn: 220646
-
Hans Wennborg authored
It broke the Windows build: [1/19] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\RegAllocPBQP.cpp.obj C:\bb-win7\ninja-clang-i686-msc17-R\llvm-project\llvm\include\llvm/CodeGen/RegAllocPBQP.h(132) : error C2248: 'std::unique_ptr<_Ty>::unique_ptr' : cannot access private member declared in class 'std::unique_ptr<_Ty>' with [ _Ty=unsigned int [] ] D:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\memory(1600) : see declaration of 'std::unique_ptr<_Ty>::unique_ptr' with [ _Ty=unsigned int [] ] This diagnostic occurred in the compiler generated function 'llvm::PBQP::RegAlloc::NodeMetadata::NodeMetadata(const llvm::PBQP::RegAlloc::NodeMetadata &)' llvm-svn: 220645
-
Hans Wennborg authored
llvm-svn: 220644
-
Hans Wennborg authored
llvm-svn: 220643
-
Lang Hames authored
llvm-svn: 220642
-
Lang Hames authored
No functional change. This just brings things more in-line with coding standards, and makes ValuePool's functionality clearer (it's not tied to pooling costs, and we may want to use it to hold other things in the future). llvm-svn: 220641
-
Daniel Jasper authored
llvm-svn: 220640
-
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
-