- Apr 20, 2017
-
-
Craig Topper authored
[APInt] Use ugt(uint64_t) for the compare in getLimitedValue(uint64_t) since the code is identical to it. NFC llvm-svn: 300796
-
Reid Kleckner authored
Removes a use of getSlotAttributes, which I intend to change. llvm-svn: 300795
-
Kuba Mracek authored
llvm-svn: 300794
-
Adrian Prantl authored
- introduced in r300522 and found via the Swift LLDB testsuite. The fix is to set the location kind to memory whenever an FrameIndex location is emitted. rdar://problem/31707602 llvm-svn: 300793
-
Adrian Prantl authored
This reverts commit r300790. llvm-svn: 300792
-
Kannan Narayanan authored
Differential Revision: https://reviews.llvm.org/D32254 llvm-svn: 300791
-
Adrian Prantl authored
- introduced in r300522 and found via the Swift LLDB testsuite. The fix is to set the location kind to memory whenever an FrameIndex location is emitted. rdar://problem/31707602 llvm-svn: 300790
-
Kuba Mracek authored
There are two reasons why users might want to build libfuzzer: - To fuzz LLVM itself - To get the libFuzzer.a archive file, so that they can attach it to their code This change always builds libfuzzer, and supports the second use case if the specified flag is set. The point of this patch is to have something that can potentially be shipped with the compiler, and this also ensures that the version of libFuzzer is correct to use with that compiler. Differential Revision: https://reviews.llvm.org/D32096 llvm-svn: 300789
-
Eric Fiselier authored
llvm-svn: 300788
-
Reid Kleckner authored
llvm-svn: 300787
-
Eric Fiselier authored
I'm currently trying to get a libc++ Windows builder working on appveyor. This patch adds the configuration file needed to build libc++ on Appveyor. Details of where the buildbot can be found will come later llvm-svn: 300786
-
Jim Ingham authored
<rdar://problem/31713267> llvm-svn: 300785
-
Reid Kleckner authored
This change is correct because the verifier requires that at most one argument be marked 'sret'. NFC, removes a use of AttributeList slot APIs. llvm-svn: 300784
-
Galina Kistanova authored
llvm-svn: 300783
-
Philip Reames authored
The documentation had gotten a bit stale. The revised one are by no means perfect, but I tried to remove the obvious incorrect or misleading statements. llvm-svn: 300782
-
Matthias Braun authored
Debug information is calculated with getFrameIndexReference() which was missing some logic for the fixed object cases (= parameters on the stack). rdar://24557797 Differential Revision: https://reviews.llvm.org/D32204 llvm-svn: 300781
-
Kostya Serebryany authored
llvm-svn: 300780
-
Eugene Zelenko authored
llvm-svn: 300779
-
Kostya Serebryany authored
llvm-svn: 300778
-
Evgeniy Stepanov authored
llvm-svn: 300777
-
Kostya Serebryany authored
llvm-svn: 300776
-
Kostya Serebryany authored
llvm-svn: 300775
-
Craig Topper authored
[APInt] Cast more calls to add/sub/mul overflow functions to void. I missed the unittests in r300758. llvm-svn: 300773
-
Sanjay Patel authored
I've changed one of the tests to not fold away, but we didn't and still don't do the transform that the comment claims we do (and I don't know why we'd want to do that). Follow-up to: https://reviews.llvm.org/rL300725 https://reviews.llvm.org/rL300763 llvm-svn: 300772
-
Eric Fiselier authored
llvm-svn: 300770
-
Kostya Serebryany authored
llvm-svn: 300769
-
Kostya Serebryany authored
llvm-svn: 300768
-
Kostya Serebryany authored
llvm-svn: 300767
-
Kostya Serebryany authored
llvm-svn: 300766
-
Francis Ricci authored
llvm-svn: 300765
-
Erich Keane authored
The original idea was that if the attribute on an operator, that the return-value unused-ness wouldn't matter. However, all of the operators except postfix inc/dec return references! References don't result in this warning anyway, so those are already excluded. Differential Revision: https://reviews.llvm.org/D32207 llvm-svn: 300764
-
Sanjay Patel authored
This allows forming more 'not' ops, so we get improvements for ISAs that have and-not. Follow-up to: https://reviews.llvm.org/rL300725 llvm-svn: 300763
-
Richard Smith authored
llvm-svn: 300762
-
Matthias Braun authored
Re-commit after revert in r300668. Changed getMaxFPOffset() to a more conservative heuristic instead of trying to be clever and missing for some exotic calling conventions. We need to reserve an emergency spill slot in cases with large argument types that could overflow immediate offsets for FP relative address calculations. rdar://31317893 Differential Revision: https://reviews.llvm.org/D31643 llvm-svn: 300761
-
Francis Ricci authored
Summary: In the general case, we only need to check for root regions inside the memory map returned by procmaps. However, on Darwin, we also need to check inside mmap'd regions, which aren't returned in the list of modules we get from procmaps. This patch refactors memory region scanning on darwin to reduce code duplication with the kernel alloc once page scan. Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32190 llvm-svn: 300760
-
Francis Ricci authored
Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32189 llvm-svn: 300759
-
Craig Topper authored
[APInt] Cast calls to add/sub/mul overflow methods to void if only their overflow bool out param is used. This is preparation for a clang change to improve the [[nodiscard]] warning to not be ignored on methods that return a class marked [[nodiscard]] that are defined in the class itself. See D32207. We should consider adding wrapper methods to APInt that return the overflow flag directly and discard the APInt result. This would eliminate the void casts and the need to create a bool before the call to pass to the out param. llvm-svn: 300758
-
Simon Pilgrim authored
llvm-svn: 300757
-
Craig Topper authored
[CodeGen] Use preincrement version of APInt::operator++ instead of postincrement to avoid creating and immediately discarding a temporary APInt. This is preparation for a clang change to improve the [[nodiscard]] warning to not be ignored on methods that return a class marked [[nodiscard]] that are defined in the class itself. See D32207. llvm-svn: 300756
-
Kostya Serebryany authored
Summary: For some reason, the asan bot has recently started reporting this leak even though it existed for ages. Reviewers: pcc Reviewed By: pcc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D32243 llvm-svn: 300755
-