summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Static Analyzer] Fixed a typo in a diagnostic message.Gabor Horvath2015-09-111-1/+1
| | | | llvm-svn: 247444
* [CMake] [Darwin] Need to set lto_library on CMAKE_MODULE_LINKER_FLAGS as wellChris Bieneman2015-09-111-0/+2
| | | | | | This is a follow-on to r247308. llvm-svn: 247443
* Extend the Token visualizer used by MSVC to display the identifier text for ↵Aaron Ballman2015-09-111-7/+8
| | | | | | | | tok::identifier tokens. Patch by Mike Spertus. llvm-svn: 247442
* Fix some typos in commentsTobias Grosser2015-09-111-3/+3
| | | | llvm-svn: 247441
* Make this test a bit more resistant to section number changes.Rafael Espindola2015-09-111-2/+2
| | | | llvm-svn: 247439
* Use Itanium C++ ABI triple for new modules+debug testReid Kleckner2015-09-111-1/+4
| | | | llvm-svn: 247438
* [test] Specify exception object type in two testsVedant Kumar2015-09-112-2/+2
| | | | | | | | | | | | | 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
* [CMake] Making the bootstrap-clear target always delete the boostrap build ↵Chris Bieneman2015-09-111-1/+0
| | | | | | directories. llvm-svn: 247436
* [X86] Make sure startproc/endproc are pairedDavid Majnemer2015-09-112-1/+38
| | | | | | | | | | 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
* Update test expectations for LLVM asm printing changeReid Kleckner2015-09-111-4/+7
| | | | llvm-svn: 247434
* [IR] Print the label operands of a catchpad like an invokeReid Kleckner2015-09-114-9/+17
| | | | | | | | | | | | | 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
* Module Debugging: Emit forward declarations for types that are defined inAdrian Prantl2015-09-114-12/+157
| | | | | | | | | 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
* Revert "Module Debugging: Emit forward declarations for types that are ↵Adrian Prantl2015-09-114-259/+10
| | | | | | | | defined in" This reverts commit r247369 to facilitate reviewing of the following patch. llvm-svn: 247431
* [Static Analyzer] Properly clean up the dynamic type information for dead ↵Gabor Horvath2015-09-117-57/+137
| | | | | | | | regions. Differential Revision: http://reviews.llvm.org/D12767 llvm-svn: 247430
* [CodeGen] Refactor TLI/AtomicExpand interface to make LLSC explicit.Ahmed Bougacha2015-09-1111-57/+72
| | | | | | | | | | | | | | | 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
* [CodeGen] Rename AtomicRMWExpansionKind to AtomicExpansionKind.Ahmed Bougacha2015-09-119-26/+24
| | | | | | This lets us generalize its usage to the other atomic instructions. llvm-svn: 247428
* [PR24785] Appease MSC18 to tweak optimizations.NAKAMURA Takumi2015-09-111-0/+8
| | | | | | | | | | 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
* [Static Analyzer] Lambda support.Gabor Horvath2015-09-1110-13/+495
| | | | | | Differential Revision: http://reviews.llvm.org/D12652 llvm-svn: 247426
* [libFuzzer] mention more trophiesKostya Serebryany2015-09-111-0/+4
| | | | llvm-svn: 247425
* [SEH] Port __try / __leave test to new IRReid Kleckner2015-09-111-0/+347
| | | | | | | It turns out that the IR we already generate for __leave is fine, so no code changes were needed. llvm-svn: 247424
* [Static Analyzer] Minor cleanups for the nullability checker.Gabor Horvath2015-09-111-46/+40
| | | | | | Differential Revision: http://reviews.llvm.org/D12619 llvm-svn: 247423
* [mips] Add missing disassembler tests for MIPS64-MIPS64R5.Daniel Sanders2015-09-1112-0/+990
| | | | llvm-svn: 247422
* [CodeGen] Teach SimplifyPersonality about the updated LandingPadInstVedant Kumar2015-09-113-28/+70
| | | | | | | | | | | | | | | 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
* [mips] Add missing MIPS32 - MIPS32R5 disassembler tests.Daniel Sanders2015-09-1112-0/+869
| | | | llvm-svn: 247420
* Update autoconf too: Analysis/TempScopInfo.cpp has been removedSylvestre Ledru2015-09-111-1/+0
| | | | llvm-svn: 247419
* [mips] Attempt to fix llvm-s390x-linux1Daniel Sanders2015-09-111-1/+1
| | | | | | It doesn't seem to like the '|&' in the test command. llvm-svn: 247418
* [mips] Add missing MIPS-IV disassembler tests.Daniel Sanders2015-09-113-0/+54
| | | | llvm-svn: 247417
* [mips] Add missing MIPS-III disassembler tests.Daniel Sanders2015-09-113-0/+48
| | | | llvm-svn: 247416
* Tweak 2 x86 gold tests so they can run on non-x86 platformsArnaud A. de Grandmaison2015-09-112-3/+5
| | | | llvm-svn: 247415
* [mips] Add missing MIPS-II disassembler tests.Daniel Sanders2015-09-113-0/+44
| | | | | | | 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
* [compiler-rt] [sanitizers] Add VMA size check at runtimeAdhemerval Zanella2015-09-117-0/+30
| | | | | | | | | 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
* Fix out-of-range access in test caseMichael Kruse2015-09-111-1/+1
| | | | | | | | 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
* Demote TestAttachResume back to @expectedFailureFreeBSDEd Maste2015-09-111-1/+1
| | | | | | | | It turns out it fails consistently for me. llvm.org/pr19310 llvm-svn: 247411
* This test requires UTF-8 output to print the UT-8 characters.Yaron Keren2015-09-111-0/+1
| | | | llvm-svn: 247410
* Add #include llvm-config.h to Locale.cpp which depends on LLVM_ON_WIN32.Yaron Keren2015-09-111-0/+1
| | | | | | | | | | 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
* Add more information to a comment.Rafael Espindola2015-09-111-2/+4
| | | | llvm-svn: 247408
* Re-commit r247405: [mips] Add missing MIPS-I disassembler tests.Daniel Sanders2015-09-114-0/+67
| | | | | | | | | | | | | 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
* Revert r247405: [mips] Add missing MIPS-I disassembler tests.Daniel Sanders2015-09-111-29/+0
| | | | | | A small number of the added tests have operands that change on each round trip. llvm-svn: 247406
* [mips] Add missing MIPS-I disassembler tests.Daniel Sanders2015-09-111-0/+29
| | | | | | | 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
* Fixed HasDeclarationMatcher to properly convert all types into decls where ↵Aaron Ballman2015-09-115-8/+213
| | | | | | | | | | | | | | 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
* [lldb-mi] No need to call Format with no varargs.Bruce Mitchener2015-09-112-6/+6
| | | | | | | | | | | | | | 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
* Clean up build of JITLoader/GDB in autoconf build.Bruce Mitchener2015-09-113-18/+6
| | | | | | | | | | | | | | Summary: This builds on all platforms, so remove duplication in build configuration. Reviewers: labath, clayborg, emaste Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12792 llvm-svn: 247402
* [OPENMP] Preserve alignment of the original variables for the captured ↵Alexey Bataev2015-09-117-66/+85
| | | | | | | | references. Patch makes codegen to preserve alignment of the shared variables captured and used in OpenMP regions. llvm-svn: 247401
* Improve the arm/aarch64 mapping symbol handlingTamas Berghammer2015-09-111-36/+51
| | | | | | | | | | | | Change the mapping symbol handling to handle the case when the mapping symbols are prefixed with an arbitrary prefix. This isn't strictly standard compliance, but if all symbols in an object file is prefixed with objcopy then the prefix will be added to the mapping symbol also. We still want to treat these symbols as mapping symbols to get the correct address class data. Differential revision: http://reviews.llvm.org/D12755 llvm-svn: 247400
* Another patch for modernize-loop-convert.Angel Garcia Gomez2015-09-118-124/+320
| | | | | | | | | | | | | | | | | | Summary: 1. Avoid converting loops that iterate over the size of a container and don't use its elements, as this would result in an unused-result warning. 2. Never capture the elements by value on lambdas, thus avoiding doing unnecessary copies and errors with non-copyable types. 3. The 'const auto &' instead of 'auto &' substitution on const containers now works on arrays and pseudoarrays as well. 4. The error about multiple replacements in the same macro call is now documented in the tests (not solved though). 5. Due to [1], I had to add a dummy usage of the range element (like "(void) *It;" or similars) on the tests that had empty loops. 6. I removed the braces from the CHECK comments. I think that there is no need for them, and they confuse vim. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D12734 llvm-svn: 247399
* Add Polly header files to IDE projectsMichael Kruse2015-09-111-0/+5
| | | | llvm-svn: 247398
* clang/test/Modules/ExtDebugInfo.cpp: Use %itanium_abi_triple.NAKAMURA Takumi2015-09-111-0/+3
| | | | llvm-svn: 247397
* clang/test/Modules/ExtDebugInfo.cpp: Use [[@LINE]].NAKAMURA Takumi2015-09-111-1/+1
| | | | llvm-svn: 247396
* PPCFrameLowering::emitEpilogue(): Avoid manipulating MBBI on iterator end.NAKAMURA Takumi2015-09-111-1/+1
| | | | | | It caused crash in MachineInstr::hasPropertyInBundle() since r247237. llvm-svn: 247395
* clang-tidy/misc-sizeof-container.cpp: Add explicit triple.NAKAMURA Takumi2015-09-111-1/+1
| | | | | | | | | | For targeting LLP64, like Windows x86, size_t is not unsigned long. tools/clang/tools/extra/test/clang-tidy/Output/misc-sizeof-container.cpp.tmp.cpp:33:12: error: target of using declaration conflicts with declaration already in scope [clang-diagnostic-error] using std::size_t; ^ llvm-svn: 247394
OpenPOWER on IntegriCloud