summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentationEnrico Granata2015-11-131-148/+148
| | | | llvm-svn: 253087
* Add a null check against the ThreadPlanZachary Turner2015-11-131-1/+1
| | | | | | | | I'm seeing some cases where the ThreadPlan is null. It could be a sign of a valid race condition, but at least we shouldn't crash. llvm-svn: 253086
* Modernize FormatBacktrace() and make portable for Python 3.Zachary Turner2015-11-133-21/+26
| | | | llvm-svn: 253085
* [WinEH] Fix ESP management with 32-bit __CxxFrameHandler3Reid Kleckner2015-11-135-9/+23
| | | | | | | | | | | | | | | The C++ EH personality automatically restores ESP from the C++ EH registration node after a catchret. I mistakenly thought it was like SEH, which does not restore ESP. It makes sense for C++ EH to differ from SEH here because SEH does not use funclets for catches, and does not allow catching inside of finally. C++ EH may need to unwind through multiple catch funclets and eventually catchret to some outer funclet. Therefore, the runtime has to keep track of which ESP to use with catchret, rather than having the compiler reload it manually. llvm-svn: 253084
* [safestack] Rewrite isAllocaSafe using SCEV.Evgeniy Stepanov2015-11-135-112/+430
| | | | | | | | | | | | | | | Use ScalarEvolution to calculate memory access bounds. Handle function calls based on readnone/nocapture attributes. Handle memory intrinsics with constant size. This change improves both recall and precision of IsAllocaSafe. See the new tests (ex. BitCastWide) for the kind of code that was wrongly classified as safe. SCEV efficiency seems to be limited by the fact the SafeStack runs late (in CodeGenPrepare), and many loops are unrolled or otherwise not in LCSSA. llvm-svn: 253083
* [Docs] Fix warning "Title underline too short."Akira Hatanaka2015-11-131-1/+1
| | | | llvm-svn: 253082
* Fix build... againJonathan Roelofs2015-11-131-1/+1
| | | | llvm-svn: 253081
* [tsan] Don't demangle names not starting with "_Z"Kuba Brecka2015-11-132-0/+8
| | | | | | | | I noticed that when a symbol is named just "x", it gets demangled to "long long". On POSIX, AFAIK, mangled names always start with "_Z", so lets just require that. Differential Revision: http://reviews.llvm.org/D14637 llvm-svn: 253080
* [tsan] Fix finalization of detached threads on OS XKuba Brecka2015-11-131-1/+1
| | | | | | | | Currently, we crash on finalization of detached threads, because we'll try to clear the ThreadState twice. Differential Revision: http://reviews.llvm.org/D14644 llvm-svn: 253079
* [tsan] Fix a typo in tsan_test_util.hKuba Brecka2015-11-131-1/+1
| | | | | | | | There is a typo in tsan_test_util.h, it shouldn't be `APPLE`, but `__APPLE__`. Differential Revision: http://reviews.llvm.org/D14647 llvm-svn: 253078
* [tsan] Expect memmove interceptor to be called from memcpyKuba Brecka2015-11-133-4/+4
| | | | | | | | On OS X, memcpy and memmove are actually aliases of the same function, so the memmove interceptor can be invoked on a call to memcpy. This patch updates the tests to expect either memmove or memcpy on a stack trace. Differential Revision: http://reviews.llvm.org/D14638 llvm-svn: 253077
* [tsan] Mark dl_iterate_phdr.cc test as unsupported on OS XKuba Brecka2015-11-131-0/+3
| | | | | | | | The dl_iterate_phdr is not present on OS X. Differential Revision: http://reviews.llvm.org/D14643 llvm-svn: 253076
* [tsan] Don't require full paths to be present on stack tracesKuba Brecka2015-11-137-12/+12
| | | | | | | | The OS X symbolizers (namely AtosSymbolizer) don't return full file paths, only file names. This patch modifies `mutexset*.cc` tests not to require a path to be present in the symbol on the stack trace. Differential Revision: http://reviews.llvm.org/D14642 llvm-svn: 253075
* [scan-build] Make scan-build work whether it's installed or notJonathan Roelofs2015-11-1315-21/+28
| | | | llvm-svn: 253074
* Another fix for LLDB_DISABLE_PYTHON=1Zachary Turner2015-11-131-1/+5
| | | | llvm-svn: 253073
* [WebAssembly] Rename the Const instructions to be upper-case too.Dan Gohman2015-11-131-4/+4
| | | | llvm-svn: 253072
* SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamplesDiego Novillo2015-11-137-33/+73
| | | | llvm-svn: 253071
* [WebAssembly] Rename memory intrinsics to be upper-case, following ↵Dan Gohman2015-11-131-4/+4
| | | | | | convention. NFC. llvm-svn: 253070
* Relax mingw-useld test to fix bot failures.Yaron Keren2015-11-131-3/+3
| | | | llvm-svn: 253069
* [scan-build] Move non user-facing utilities to shareJonathan Roelofs2015-11-138-15/+18
| | | | llvm-svn: 253068
* [X86][SSE] Combine UNPCKL with vector_shuffle into UNPCKH to save one ↵Cong Hou2015-11-133-15/+44
| | | | | | | | | | | | | | | | | | | instruction for sext from v16i8 to v16i16 and v8i16 to v8i32. This patch is enabling combining UNPCKL with vector_shuffle that moves the upper half of a vector into the lower half, into a UNPCKH instruction. For example: t2: v16i8 = vector_shuffle<8,9,10,11,12,13,14,15,u,u,u,u,u,u,u,u> t1, undef:v16i8 t3: v16i8 = X86ISD::UNPCKL undef:v16i8, t2 will be combined to: t3: v16i8 = X86ISD::UNPCKH undef:v16i8, t1 Differential revision: http://reviews.llvm.org/D14399 llvm-svn: 253067
* Add test case for mingw -fuse-ld= support introduced in r242121.Yaron Keren2015-11-131-0/+20
| | | | llvm-svn: 253066
* dwarfdump: Add support for dumping the table contents of DWP indexesDavid Blaikie2015-11-132-15/+69
| | | | | | | | | | | | | This is a recommit of 252842 which was reverted in 252859. The issue was using %s format specifier for a StringRef - used Format's left_justify(StringRef, int) instead. It'd be nice to have __attribute__((format(..))) on llvm::format, but apparently it's only implemented for c-style variadics, not C++ variadic templates. Perhaps we could fix that & conditionalize the attribute on such... llvm-svn: 253065
* [CMake] [macho_embedded] [builtins] Always use OS X sysroot, even for arm.Chris Bieneman2015-11-131-3/+0
| | | | | | Turns out that there are some checks in the backend that change code generation for armv7 if you are building against an iOS sys root. For the macho_embedded builtins we really don't want that. llvm-svn: 253064
* Add a comment that should have made my last commit.Chad Rosier2015-11-131-0/+1
| | | | llvm-svn: 253063
* Add missing triple to WinEH test caseReid Kleckner2015-11-131-1/+1
| | | | llvm-svn: 253062
* [LIR] Factor out the code to compute base ptr for negative strided loops.Chad Rosier2015-11-131-10/+15
| | | | | | This will allow for the code to be reused in the memcpy optimization. llvm-svn: 253061
* Fix auto-link for text-based dynamic library SDKs.Juergen Ributzka2015-11-134-3/+31
| | | | | | | | | | When linking against text-based dynamic library SDKs the library name of a framework has now more than one possible filename extensions. This fix tests for both possible extensions (none, and .tbd). This fixes rdar://problem/20609975 llvm-svn: 253060
* [WinEH] Make UnwindHelp a fixed stack object allocated after XMM CSRsReid Kleckner2015-11-139-29/+116
| | | | | | | Now the offset of UnwindHelp in our EH tables and the offset that we store to in the prologue agree. llvm-svn: 253059
* ELF2: Make comment less opinionated.Rui Ueyama2015-11-131-2/+2
| | | | llvm-svn: 253058
* Add `PythonExceptionStateTests.cpp` to lldb-gtest target.Zachary Turner2015-11-131-0/+4
| | | | llvm-svn: 253057
* [Hexagon] Factoring bundle creation in to a utility function.Colin LeMahieu2015-11-138-13/+15
| | | | llvm-svn: 253056
* Slacken the norecurse test slightlyJames Molloy2015-11-131-1/+1
| | | | | | | | It has been reported that this test currently fails on some Power buildbots due to them adding a "signext" function attribute. As that's not what we're checking here, slacken off the test a bit. llvm-svn: 253055
* Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1Zachary Turner2015-11-132-0/+8
| | | | llvm-svn: 253054
* AMDGPU: Add stony supportTom Stellard2015-11-131-0/+4
| | | | | | Patch by: Alex Deucher llvm-svn: 253053
* ELFYAML: Add support for parsing AMDGPU section attribute flagsTom Stellard2015-11-132-1/+28
| | | | | | | | | | Reviewers: silvas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14444 llvm-svn: 253052
* [Symbolizer] Don't use PE symbol tables to override PDB symbolsReid Kleckner2015-11-132-2/+16
| | | | | | | | | | | | | | | | | | | | | Summary: PE files are stripped by default, and only contain the names of exported symbols. The actual reason that we bother to do this override by default is actually due to a quirk of the way -gline-tables-only is implemented, so I phrased the check as "if we are symbolizing from dwarf, do the symtab override". This fixes lots of Windows ASan tests that I broke in r250582. Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14594 llvm-svn: 253051
* ScopInfo: Reset compute operations before starting compute out regionTobias Grosser2015-11-131-0/+1
| | | | | | | | | Without this change we may start to refuse scops in larger compilation units just because a lot of code has already been compiled earlier. Found by inspection. I do not yet have a good test case for this. llvm-svn: 253050
* [ELF2] - Implemented R_X86_64_GOTTPOFF relocationGeorge Rimar2015-11-138-10/+97
| | | | | | | | Generates single GOT entry, R_X86_64_TPOFF64 is added to RelaDyn. Differential revision: http://reviews.llvm.org/D14621 llvm-svn: 253049
* use range-based for loop; NFCISanjay Patel2015-11-131-4/+3
| | | | llvm-svn: 253048
* [ARM] Replace ARMISD::RBIT with ISD::BITREVERSEJames Molloy2015-11-136-10/+19
| | | | | | ISD::BITREVERSE matches "rbit" completely, so remove ARMISD::RBIT and mark ISD::BITREVERSE as legal, adding a test for lowering. llvm-svn: 253047
* Deduplicate three identical copies of ↵Yaron Keren2015-11-132-33/+25
| | | | | | isExplicitInstantiationOrSpecialization, NFC. llvm-svn: 253046
* Fixing a typo in docs/CodeGenerator.rstArtyom Skrobov2015-11-131-1/+1
| | | | llvm-svn: 253045
* Use ld.lld2, not -flavor gnu2Rafael Espindola2015-11-132-6/+6
| | | | llvm-svn: 253044
* [ELF2] - fix of eh-frame-merge.s and eh-frame-merge.s tests fails for win32 ↵George Rimar2015-11-132-3/+3
| | | | | | configuration. llvm-svn: 253043
* Re-XFAIL two more tests I missedPavel Labath2015-11-131-0/+2
| | | | llvm-svn: 253042
* [mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, ↵Zlatko Buljan2015-11-1311-25/+189
| | | | | | | | SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions Differential Revision: http://reviews.llvm.org/D14010 llvm-svn: 253041
* [mips][ias] Explicitly disable IAS on asm-large-immediate.ll.Daniel Sanders2015-11-131-1/+2
| | | | | | NFC at the moment but it will prevent a failure when IAS is enabled by default. llvm-svn: 253039
* [SystemZ] Simplify boolean conditional return statementsUlrich Weigand2015-11-132-12/+4
| | | | | | | | | Use clang-tidy to simplify conditonal return statements. Author: LegalizeAdulthood Differential Revision: http://reviews.llvm.org/D9986 llvm-svn: 253038
* [asan] Fixed invalid check in test.Yury Gribov2015-11-131-2/+2
| | | | llvm-svn: 253037
OpenPOWER on IntegriCloud