- Sep 11, 2015
-
-
Chris Bieneman authored
This is a follow-on to r247308. llvm-svn: 247443
-
Aaron Ballman authored
Patch by Mike Spertus. llvm-svn: 247442
-
Tobias Grosser authored
llvm-svn: 247441
-
Rafael Espindola authored
llvm-svn: 247439
-
Reid Kleckner authored
llvm-svn: 247438
-
Vedant Kumar authored
Replace: 'try { throw 0; } catch (...)' with 'try { throw 0; } catch (int e)' in two test cases. Differential Revision: http://reviews.llvm.org/D12743 llvm-svn: 247437
-
Chris Bieneman authored
llvm-svn: 247436
-
David Majnemer authored
We used different conditions to determine if we should emit startproc vs endproc. Use the same condition to ensure that they will always be paired. This fixes PR24374. llvm-svn: 247435
-
Reid Kleckner authored
llvm-svn: 247434
-
Reid Kleckner authored
The rest of the EH pads are fine, since they have at most one label and take fewer operands for the personality. Old catchpad vs. new: %5 = catchpad [i8* bitcast (i32 ()* @"\01?filt$0@0@main@@" to i8*)] to label %__except.ret.10 unwind label %catchendblock.9 ----- %5 = catchpad [i8* bitcast (i32 ()* @"\01?filt$0@0@main@@" to i8*)] to label %__except.ret.10 unwind label %catchendblock.9 llvm-svn: 247433
-
Adrian Prantl authored
clang modules, if -dwarf-ext-refs (DebugTypesExtRefs) is specified. This reimplements r247369 in about a third of the amount of code. Thanks to David Blaikie pointing this out in post-commit review! llvm-svn: 247432
-
Adrian Prantl authored
This reverts commit r247369 to facilitate reviewing of the following patch. llvm-svn: 247431
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D12767 llvm-svn: 247430
-
Ahmed Bougacha authored
We used to have this magic "hasLoadLinkedStoreConditional()" callback, which really meant two things: - expand cmpxchg (to ll/sc). - expand atomic loads using ll/sc (rather than cmpxchg). Remove it, and, instead, introduce explicit callbacks: - bool shouldExpandAtomicCmpXchgInIR(inst) - AtomicExpansionKind shouldExpandAtomicLoadInIR(inst) Differential Revision: http://reviews.llvm.org/D12557 llvm-svn: 247429
-
Ahmed Bougacha authored
This lets us generalize its usage to the other atomic instructions. llvm-svn: 247428
-
NAKAMURA Takumi authored
This brings a warning. cl : Command line warning D9035: option 'Og-' has been deprecated and will be removed in a future release We should resolve PR11951 to remove this tweak. llvm-svn: 247427
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D12652 llvm-svn: 247426
-
Kostya Serebryany authored
llvm-svn: 247425
-
Reid Kleckner authored
It turns out that the IR we already generate for __leave is fine, so no code changes were needed. llvm-svn: 247424
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D12619 llvm-svn: 247423
-
Daniel Sanders authored
llvm-svn: 247422
-
Vedant Kumar authored
When uses of personality functions were moved from LandingPadInst to Function, we forgot to update SimplifyPersonality(). This patch corrects that. Note: SimplifyPersonality() is an optimization which replaces personality functions with the default C++ personality when possible. Without this update, some ObjC++ projects fail to link against C++ libraries (seeing as the exception ABI had effectively changed). rdar://problem/22155434 llvm-svn: 247421
-
Daniel Sanders authored
llvm-svn: 247420
-
Sylvestre Ledru authored
llvm-svn: 247419
-
Daniel Sanders authored
It doesn't seem to like the '|&' in the test command. llvm-svn: 247418
-
Daniel Sanders authored
llvm-svn: 247417
-
Daniel Sanders authored
llvm-svn: 247416
-
Arnaud A. de Grandmaison authored
llvm-svn: 247415
-
Daniel Sanders authored
These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723) and were verified by checking the disassembler output is accepted by GAS. llvm-svn: 247414
-
Adhemerval Zanella authored
This patch adds a runtime check for asan, dfsan, msan, and tsan for architectures that support multiple VMA size (like aarch64). Currently the check only prints a warning indicating which is the VMA built and expected against the one detected at runtime. llvm-svn: 247413
-
Michael Kruse authored
The function use_after_scop would iterate from 0 to 1024 and accessing element A[1024] where A has only valid indexes from 0 to 1023. Polly detects the situation of unconditionally undefined behavior and bail out in ScopInfo as non-feasible for optimization. Other tests add impossible context assumptions as well, hance might show the same problem. llvm-svn: 247412
-
Ed Maste authored
It turns out it fails consistently for me. llvm.org/pr19310 llvm-svn: 247411
-
Yaron Keren authored
llvm-svn: 247410
-
Yaron Keren authored
Source code was assuming that llvm-config.h would be included somehow but up to r247253 that added #include "llvm/Support/Compiler.h" to StringRef.h the config file was not actually included. The inclusion of llvm-config.h caused a change of behaviour in tools/clang/test/Frontend/source-col-map.c: previously it would output the original UTF-8 but now it outputs <U+03B1>. llvm-svn: 247409
-
Rafael Espindola authored
llvm-svn: 247408
-
Daniel Sanders authored
These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723) and verified by checking the disassembler output is accepted by GAS. The problematic tests from the previous commit have been moved to valid-xfail.txt for now. Also, give invalid instructions some coverage. invalid-xfail.txt contains instructions that should be invalid but successfully disassemble. llvm-svn: 247407
-
Daniel Sanders authored
A small number of the added tests have operands that change on each round trip. llvm-svn: 247406
-
Daniel Sanders authored
These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723) and verified by checking the disassembler output is accepted by GAS. llvm-svn: 247405
-
Aaron Ballman authored
Fixed HasDeclarationMatcher to properly convert all types into decls where possible. Added objcObjectPointerType(), objcInterfaceDecl(), templateTypeParmType(), injectedClassNameType(), and unresolvedUsingTypenameDecl(). Updated documentation for pointerType() to call out that it does not match ObjCObjectPointerType types. Changed pointsTo() to handle ObjCObjectPointerType as well as PointerType. While this may seem like a lot of unrelated changes, they all relate back to fixing HasDeclarationMatcher. This now allows us to write a matcher like: varDecl(hasType(namedDecl(hasName("Foo")))) that matches code using typedefs, objc interfaces, template type parameters, injected class names, or unresolved using typenames. llvm-svn: 247404
-
Bruce Mitchener authored
Summary: There's no need to call CMIUtilString::Format with a string and no args. Reviewers: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12796 llvm-svn: 247403
-