- Feb 16, 2016
-
-
Rafael Espindola authored
Original commit message: [readobj] Dump DT_JMPREL relocations when outputting dynamic relocations. The bits of r260488 it depends on have been committed. llvm-svn: 260970
-
Tamas Berghammer authored
This reverts commit 293c18e067d663e0fe93e6f3d800c2a4bfada2b0. The BKPT instruction generates SIGBUS instead of SIGTRAP in the Linux kernel on Nexus 6 - 5.1.1 (kernel version 3.10.40). Revert the CL until we can figure out how can we hanble the SIGBUS or how to get back a SIGTRAP using the BKPT instruction. llvm-svn: 260969
-
Dan Gohman authored
llvm-svn: 260968
-
Rafael Espindola authored
This requires making an error message a bit more generic, but that seems a reasonable tradeoff. Extracted from r260488 but simplified a bit. llvm-svn: 260967
-
Marshall Clow authored
llvm-svn: 260966
-
Tobias Grosser authored
First support for this feature was committed in r259784. Support for loop invariant load hoisting with different types was added by Johannes Doerfert in r260045 and r260886. llvm-svn: 260965
-
Marshall Clow authored
llvm-svn: 260964
-
Rafael Espindola authored
This reduces indentation in preparation to adding a bit more code to it. Extracted from r260488. llvm-svn: 260963
-
Rafael Espindola authored
Original messages: Revert "[readobj] Handle ELF files with no section table or with no program headers." Revert "[readobj] Dump DT_JMPREL relocations when outputting dynamic relocations." r260489 depends on r260488 and among other issues r260488 deleted error handling code. llvm-svn: 260962 -
Vasileios Kalintiris authored
This should fix PR26631, PR26622 and has the nice property that the addition of the CheckLibcxxAtomic.cmake module acts as an NFC on the platforms of the reporters (at least for the time being). As these bug reports explain, CMake fails the atomic check because the include headers might not exist in the host environment. We could potentially point to the headers provided by libcxx itself. llvm-svn: 260961
-
Rafael Espindola authored
llvm-svn: 260960
-
Andrey Turetskiy authored
Add a missing check for a type of address displacement operand of the load/store instruction being a candidate for LEA substitution. Ref: https://llvm.org/bugs/show_bug.cgi?id=26575 Differential Revision: http://reviews.llvm.org/D17261 llvm-svn: 260959
-
Johannes Doerfert authored
This patch was extracted from http://reviews.llvm.org/D13611. llvm-svn: 260958
-
Alexey Bataev authored
Loop-based directives allow to use iterators as loop counters. Iterators are allowed to define their own operators. This patch allows to use compound assignment operators for iterators. llvm-svn: 260957
-
Johannes Doerfert authored
llvm-svn: 260956
-
Johannes Doerfert authored
llvm-svn: 260955
-
Alexey Bataev authored
Expressions inside 'schedule'|'dist_schedule' clause must be captured in combined directives to avoid possible crash during codegen. Patch improves handling of such constructs llvm-svn: 260954
-
Haojian Wu authored
Summary: The test code will trigger following an assert failure: assert.h assertion failed at LoopConvertUtils.cpp:560 in bool clang::tidy::modernize::ForLoopIndexUseVisitor::TraverseMemberExpr(clang::MemberExpr*): ExprType->isPointerType() && "Operator-> returned non-pointer type" Reviewers: alexfh Differential Revision: http://reviews.llvm.org/D17287 llvm-svn: 260953
-
Haojian Wu authored
Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17134 llvm-svn: 260952
-
Pavel Labath authored
The test fails very rarely. I suspect this is simply because the inferior does not have enough time to create the file under heavy load. llvm-svn: 260951
-
Pavel Labath authored
I believe the root cause is the asynchronous arrival of inferior stdio (pr25652). llvm-svn: 260950
-
Benjamin Kramer authored
Once a pointer is turned into a reference it cannot be nullptr, clang rightfully warns about this assert being a tautology. Put the assert before the reference is created. llvm-svn: 260949
-
Alexander Kornienko authored
Fixes http://llvm.org/PR25894 Patch by Richard Thomson! Differential revision: http://reviews.llvm.org/D16953 llvm-svn: 260948
-
Amaury Sechet authored
llvm-svn: 260947
-
Mohit K. Bhakkad authored
Reviewers: eugenis, kcc, samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17135 llvm-svn: 260946
-
NAKAMURA Takumi authored
clang-tools-extra/test/Unit/lit.site.cfg.in: Prune on_clone. I guess it has been unused since r188006. llvm-svn: 260944
-
Craig Topper authored
llvm-svn: 260943
-
Craig Topper authored
llvm-svn: 260942
-
Amaury Sechet authored
llvm-svn: 260941
-
Craig Topper authored
llvm-svn: 260940
-
Amaury Sechet authored
llvm-svn: 260939
-
Junmo Park authored
Summary: Extending findExistingExpansion can use existing value in ExprValueMap. This patch gives 0.3~0.5% performance improvements on benchmarks(test-suite, spec2000, spec2006, commercial benchmark) Reviewers: mzolotukhin, sanjoy, zzheng Differential Revision: http://reviews.llvm.org/D15559 llvm-svn: 260938
-
Argyrios Kyrtzidis authored
[Frontend] Make sure WrapperFrontendAction updates CurrentInput after calling BeginSourceFileAction. I don't have a test case to add unfortunately. llvm-svn: 260937
-
Amaury Sechet authored
Summary: This consist in variosu addition to the C API: LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); LLVMTargetDataRef LLVMCreateTargetMachineData(LLVMTargetMachineRef T); Reviewers: joker.eph, Wallbraker, echristo Subscribers: axw Differential Revision: http://reviews.llvm.org/D17255 llvm-svn: 260936
-
Craig Topper authored
llvm-svn: 260935
-
Craig Topper authored
llvm-svn: 260934
-
Craig Topper authored
llvm-svn: 260933
-
Jason Molenda authored
llvm-svn: 260932
-
Craig Topper authored
llvm-svn: 260931
-
Jason Molenda authored
the xcode project file to catch switch statements that have a case that falls through unintentionally. Define LLVM_FALLTHROUGH to indicate instances where a case has code and intends to fall through. This should be in llvm/Support/Compiler.h; Peter Collingbourne originally checked in there (r237766), then reverted (r237941) because he didn't have time to mark up all the 'case' statements that were intended to fall through. I put together a patch to get this back in llvm http://reviews.llvm.org/D17063 but it hasn't been approved in the past week. I added a new lldb-private-defines.h to hold the definition for now. Every place in lldb where there is a comment that the fall-through is intentional, I added LLVM_FALLTHROUGH to silence the warning. I haven't tried to identify whether the fallthrough is a bug or not in the other places. I haven't tried to add this to the cmake option build flags. This warning will only work for clang. This build cleanly (with some new warnings) on macosx with clang under xcodebuild, but if this causes problems for people on other configurations, I'll back it out. llvm-svn: 260930
-