- May 05, 2017
-
-
Rafael Espindola authored
This feels a bit hackish, but I think it is still an improvement. The way a tls address is computed in the various architectures is not that different. For example, for local dynamic we need the base of the tls (R_TLSLD or R_TLSLD_PC), and the offset of that particular symbol (R_ABS). Given the similarity, we can just use the expressions instead of having two additional target hooks. llvm-svn: 302279
-
Matthias Braun authored
wcslen is part of the C99 and C++98 standards. - This introduces the function to TargetLibraryInfo. - Also set attributes for wcslen in llvm::inferLibFuncAttributes(). Differential Revision: https://reviews.llvm.org/D32837 llvm-svn: 302278
-
Konstantin Zhuravlyov authored
This field is populated by the CP Differential Revision: https://reviews.llvm.org/D32619 llvm-svn: 302277
-
Michael Kruse authored
Scop::init is used only during SCoP construction. Therefore ScopBuilder seems the more appropriate place for it. We integrate it onto its only caller ScopBuilder::buildScop where some other construction steps already took place. Differential Revision: https://reviews.llvm.org/D32908 llvm-svn: 302276
-
Aaron Ballman authored
Patch by Roman Lebedev. llvm-svn: 302275
-
Weiming Zhao authored
Summary: When the function is compiled with soft-float or on CPU with no FPU, we don't need to diagnose for a call from an ISR to a regular function. Reviewers: jroelofs, eli.friedman Reviewed By: jroelofs Subscribers: aemerson, rengolin, javed.absar, cfe-commits Differential Revision: https://reviews.llvm.org/D32918 llvm-svn: 302274
-
Rui Ueyama authored
llvm-svn: 302273
-
Peter Collingbourne authored
This ctor is used by std::make_shared and needs to cast to uninitialized T* in order to call std::allocator_traits<T>::construct. llvm-svn: 302272
-
Saleem Abdulrasool authored
The clang.arc.use intrinsic is removed via the ARC Contract Pass. This pass is only executed in optimized builds (>= opt level 1). Prevent the optimization implemented in SVN r301667 from triggering at optimization level 0 like every other ARC use intrinsic usage. llvm-svn: 302270
-
Reid Kleckner authored
No functional change other than improving dbgs logging accuracy on constant dbg values. Previously we would add things like "i32 42" as debug values, and then log that we were dropping the debug info, which is silly. Delete some dead code that was checking for static allocas. This remained after r207165, but served no purpose. Currently, static alloca dbg.values are always sent through the DanglingDebugInfoMap, and are usually made valid the first time the alloca is used. llvm-svn: 302267
-
Sam Clegg authored
Differential Revision: https://reviews.llvm.org/D32841 llvm-svn: 302266
-
Alexei Starovoitov authored
o Add bpfeb support in BPF dwarfdump unit test case Signed-off-by:
Yonghong Song <yhs@fb.com> Signed-off-by:
Alexei Starovoitov <ast@fb.com> llvm-svn: 302265
-
Joerg Sonnenberger authored
tests require this for compilation. llvm-svn: 302264
-
Joerg Sonnenberger authored
This can happen at least on NetBSD. llvm-svn: 302263
-
Craig Topper authored
[KnownBits] Add wrapper methods for setting and clear all bits in the underlying APInts in KnownBits. This adds routines for reseting KnownBits to unknown, making the value all zeros or all ones. It also adds methods for querying if the value is zero, all ones or unknown. Differential Revision: https://reviews.llvm.org/D32637 llvm-svn: 302262
-
Alexander Kornienko authored
Summary: Fix misc-move-const-arg false positives on move-only types. Reviewers: sbenza Reviewed By: sbenza Subscribers: xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D31160 llvm-svn: 302261
-
Francis Ricci authored
Summary: 'arch' is a valid qHostInfo key, but the unit test for qHostInfo did not include it in the set of possible keys. Reviewers: tfiala, labath Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D32711 llvm-svn: 302260
-
Nico Weber authored
llvm-svn: 302259
-
Nico Weber authored
llvm-svn: 302258
-
Adrian McCarthy authored
This is similar to my recent fix for VarStreamArrayIterator, but the cause (and thus the fix) is subtley different. The FixedStreamArrayIterator iterates over a const Array, so the iterator's value type must be const. llvm-svn: 302257
-
Craig Topper authored
llvm-svn: 302256
-
Nico Weber authored
https://reviews.llvm.org/D32879 llvm-svn: 302255
-
Zachary Turner authored
This almost completes the matrix of all possible find functions. *EXISTING* ---------- find_first find_first_unset find_next find_next_unset find_last find_last_unset *NEW* ---- find_prev *STILL MISSING* --------------- find_prev_unset Differential Revision: https://reviews.llvm.org/D32885 llvm-svn: 302254
-
Alex Lorenz authored
This patch adds a fix-it for the -Wunguarded-availability warning. This fix-it is similar to the Swift one: it suggests that you wrap the statement in an `if (@available)` check. The produced fixits are indented (just like the Swift ones) to make them look nice in Xcode's fix-it preview. rdar://31680358 Differential Revision: https://reviews.llvm.org/D32424 llvm-svn: 302253
-
Amaury Sechet authored
llvm-svn: 302252
-
Sanjay Patel authored
llvm-svn: 302251
-
Alex Lorenz authored
whose introduced version is lower than the allowed version. We should just rely on the target version as this introduced version can lead to false positives (e.g. deprecated declarations). rdar://31964333 llvm-svn: 302250
-
George Rimar authored
Addresses post commit review comment. llvm-svn: 302249
-
Sanjay Patel authored
These are the 'or' counterparts for the tests added with r300493. llvm-svn: 302248
-
Nico Weber authored
Add an opt-in warning that fires when 0 is used as a null pointer. gcc has this warning, and there's some demand for it. https://reviews.llvm.org/D32914 llvm-svn: 302247
-
Nuno Lopes authored
llvm-svn: 302246
-
Jun Bum Lim authored
Summary: Remove the AArch64AddressTypePromotion pass as we migrated all transformations done in this pass into CGP in r299379. Reviewers: qcolombet, jmolloy, javed.absar, mcrosier Reviewed By: qcolombet Subscribers: aemerson, rengolin, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D31623 llvm-svn: 302245
-
Tobias Grosser authored
llvm-svn: 302244
-
Simon Pilgrim authored
llvm-svn: 302243
-
Rafael Espindola authored
LazyObjectFile might turn out to be a BitcodeFile, so we need OffsetInArchive. llvm-svn: 302242
-
Rafael Espindola authored
The test ELF/lto/thin-archivecollision.ll was not testing what it wanted to test. It needs two archive members with the same name, but different offsets. Without this we could remove all references of OffsetInArchive and all tests would still pass. Fixing the test showed that the --whole-archive case was broken, which this patch fixes. llvm-svn: 302241
-
Alex Lorenz authored
"-mmacosx_version_min" The option -mmacosx_version_min will still be the canonical option for now, but in the future we will switch over to -mmacos_version_min and make -mmacosx_version_min an alias instead. rdar://27043820 Differential Revision: https://reviews.llvm.org/D32796 llvm-svn: 302240
-
Alexander Potapenko authored
Some problems with ARM stack unwinding led to inaccurate stack traces being printed, which caused this test to fail on http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh llvm-svn: 302239
-
Aditya Kumar authored
Loop Idiom recognition was generating memset in a case that would result generating a division operation to an unsafe location. Differential Revision: https://reviews.llvm.org/D32674 llvm-svn: 302238
-
Bill Seurer authored
When run this test case causes a segementation fault on powerpc64le. The xfail should be removed when the problem is fixed. llvm-svn: 302237
-