- Feb 06, 2016
-
-
Lang Hames authored
Replace leaq + movq of a pointer with a single movabsq. llvm-svn: 259968
-
Devin Coughlin authored
llvm-svn: 259967
-
Pete Cooper authored
The initial segment protection was also being used to set the maximum segment protection level. Instead, the maximum should be set according to the architecture we are linking. For example on Mac OS it should be RWX on most pages, but on iOS is often on R_X. rdar://problem/24515136 llvm-svn: 259966
-
Richard Smith authored
a significant fraction of the file size (for files that otherwise have few records). Also include an average size per record in the summary information. llvm-svn: 259965
-
Enrico Granata authored
Fix an issue where certain CommandObjects (or Options thereof) were being created once, bound to a specific CommandInterpreter (and hence a specific Debugger), and then cached for reuse across different Debugger instances Obviously, if the original Debugger goes away, those commands are holding on to now stale memory, which has the potential to cause crashes Fixes rdar://24460882 llvm-svn: 259964
-
George Burgess IV authored
llvm-svn: 259963
-
Jim Ingham authored
<rdar://problem/24525106> llvm-svn: 259962
-
Kostya Serebryany authored
[asan] add an experimental feature that prints the scariness score of the error message. To enable it use ASAN_OPTIONS=print_scariness=1 llvm-svn: 259961
-
Pete Cooper authored
We currently tag on a "__LINKEDIT" when we are emitting the segments. However, an upcoming patch aims to set the initprot and maxprot segment members to their correct values, and in order to share code, its better to create this segment for real and handle it in buildFileOffsets the same way ld64 does. The commit for segment protections will add a test for this all being correct so no test here until that code is committed. llvm-svn: 259960
-
Rafael Espindola authored
llvm-svn: 259959
-
Evandro Menezes authored
Summary: Add the core scheduling model for the Samsung Exynos-M1 (ARMv8-A). Reviewers: jmolloy, rengolin, christof, MinSeongKIM, t.p.northover Subscribers: aemerson, rengolin, MatzeB Differential Revision: http://reviews.llvm.org/D16644 llvm-svn: 259958
-
Sanjoy Das authored
llvm-svn: 259956
-
Xinliang David Li authored
Temporarily relax check in test to avoid breakage for format change in LLVM side. Once that is done, the test case will be retightened. llvm-svn: 259955
-
Eric Christopher authored
llvm-svn: 259954
-
Lang Hames authored
llvm-svn: 259953
-
Xinliang David Li authored
llvm-svn: 259952
-
Rui Ueyama authored
I removed "CIE/FIE size is too large" error because that was not checking for correct error conditions. [UINT_MAX - 4, UINT_MAX) is a correct range as a size of a CIE/FDE record. It's just that the size cannot be larger than the section size. llvm-svn: 259951
-
Paul Robinson authored
llvm-svn: 259950
-
Paul Robinson authored
llvm-svn: 259949
-
Richard Smith authored
llvm-svn: 259948
-
Richard Trieu authored
Sometimes, char arrays are used as bit storage, with no difference made between signed and unsigned char. Thus, it is reasonable to use 0 to 255 instead of -128 to 127 and not trigger this warning. llvm-svn: 259947
-
Rui Ueyama authored
This function did not use any fields of the class. llvm-svn: 259946
-
Rafael Espindola authored
We were not including TLS sections. llvm-svn: 259945
-
Artem Belevich authored
... and pull global-scope ones into std namespace with using-declaration. Differential Revision: http://reviews.llvm.org/D16932 llvm-svn: 259944
-
Richard Smith authored
check wrong when inheriting a member through two levels of private inheritance, where the middle one is a class template specialization. llvm-svn: 259943
-
Richard Smith authored
-fsized-deallocation. Disable sized deallocation for all objects derived from TrailingObjects, as we expect the storage allocated for these objects to be larger than the size of their dynamic type. llvm-svn: 259942
-
Xinliang David Li authored
The change allows skipping duplicate strings early to avoid redundant md5 computation and string copying/swapping. llvm-svn: 259941
-
Davide Italiano authored
Thanks to David Blaikie for pointing this out! llvm-svn: 259938
-
Davide Italiano authored
This is more uniform wrt what other tools do and makes the code a little bit more readable. llvm-svn: 259937
-
Paul Robinson authored
llvm-svn: 259935
-
John McCall authored
rdar://24531556 llvm-svn: 259932
-
Ulrich Weigand authored
Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_[1248] macros on SystemZ. This fixes a miscompile of GCC C++11 standard library headers due to use of those macros in an ABI-changing manner. See e.g. /usr/include/c++/4.8.5/ext/concurrence.h: // Compile time constant that indicates prefered locking policy in // the current configuration. static const _Lock_policy __default_lock_policy = #ifdef __GTHREADS #if (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2) \ && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)) _S_atomic; #else _S_mutex; #endif #else _S_single; #endif A different choice of __default_lock_policy causes different sizes of several of the C++11 data structures, which are then incompatible when inlined in clang-compiled code with what the (GCC-compiled) external library expects. This in turn leads to various crashes when using std::thread in code compiled with clang, as see e.g. via the ThreadPool unit tests. See PR 26473 for an example. llvm-svn: 259931 -
Davide Italiano authored
llvm-svn: 259917
-
Sunil Srivastava authored
This change reverts r257462 for PS4 triple. Differential Revision: http://reviews.llvm.org/D16788 llvm-svn: 259916
-
Hans Wennborg authored
In r252595, I inadvertently changed the condition to "Cost <= Threshold", which caused a significant size regression in Chrome. This commit rectifies that. llvm-svn: 259915
-
Jun Bum Lim authored
Remove narrow load / store instructions from getMatchingPairOpcode(), and add getMatchingWideOpcode(). llvm-svn: 259914
-
Tom Stellard authored
Summary: This makes it possible to specify some operands as optional to the AsmMatcher. Setting this field to true will prevent the AsmMatcher from emitting 'too few operands' errors when there are missing optional operands. Reviewers: olista01, ab Subscribers: nhaustov, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15755 llvm-svn: 259913
-
Matt Arsenault authored
The current situation isn't great, because the amount of padding requires is determined by the inverse order of the first encountered use. We should eventually somehow sort these to minimize wasted space. Another problem is the alignment of kernel arguments isn't respected. The group_segment_alignment is always emitted as the default 16, and typed arguments with higher alignments or an explicitly set alignment are also ignored. llvm-svn: 259912
-
Matt Arsenault authored
Also switch to internal linkage, and include the name of the function in the name. llvm-svn: 259911
-
Bruno Cardoso Lopes authored
In the context where we break one tok::greatergreater into two tok::greater in order to correctly update the cached tokens; update the CachedTokens with two tok::greater only if ParseGreaterThanInTemplateList clients asks to consume the last token. Otherwise we only need to add one because the second is already added later on, as a not yet cached token. Differential Revision: http://reviews.llvm.org/D16906 rdar://problem/24488367 llvm-svn: 259910
-