summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr.Lang Hames2015-04-2437-973/+978
| | | | | | | AsmPrinter owns the OutStreamer, so an owning pointer makes sense here. Using a reference for this is crufty. llvm-svn: 235752
* Simplify parseMemberFiles to take a single file.Rafael Espindola2015-04-243-14/+13
| | | | llvm-svn: 235751
* Revert r235749 - Accidentally commited cruft from the wrong path.Lang Hames2015-04-241-1/+0
| | | | llvm-svn: 235750
* [CodeGen] Make AsmPrinter's OutStreamer member a unique_ptr.Lang Hames2015-04-241-0/+1
| | | | | | | AsmPrinter owns the OutStreamer, so an owning pointer makes sense here. Using a reference for this is crufty. llvm-svn: 235749
* Simplify now that there is only one file. NFC.Rafael Espindola2015-04-243-20/+15
| | | | llvm-svn: 235747
* unwind: stage 2 of creating project structureSaleem Abdulrasool2015-04-240-0/+0
| | | | llvm-svn: 235746
* Return ErrorOr<std::unique_ptr<File>>. NFC.Rafael Espindola2015-04-246-23/+21
| | | | llvm-svn: 235744
* Remove unused enum value. NFC.Rafael Espindola2015-04-242-3/+0
| | | | llvm-svn: 235742
* Return an ErrorOr<std::unique_ptr<File>>. NFC.Rafael Espindola2015-04-248-39/+42
| | | | llvm-svn: 235741
* [Test] Explictly pass target architecture.Davide Italiano2015-04-241-1/+1
| | | | | | | If we're not being explicit, the test fails on windows. Reported and tested by Aaron Ballman! llvm-svn: 235739
* Revert changes to LTO test case since llvm-lto can't handle textual IR inputsDavid Blaikie2015-04-241-1/+2
| | | | llvm-svn: 235738
* Look for both .debug and dsym debugging symbol information for stripped ↵Robert Flack2015-04-242-408/+249
| | | | | | | | | | | | | | | | | executable. Currently Symbols::LocateExecutableSymbolFile on MacOSX only looks for external dsym debugging information, however if running on a stripped dwarf executable it should also check for a .debug file as well. Test Plan: ./dotest.py $DOTEST_OPTS -t -p TestSharedLibStrippedSymbols.py This test now passes when running a remote Mac -> Linux test, and still passes running locally on Mac or locally on Linux. Differential Revision: http://reviews.llvm.org/D9174 llvm-svn: 235737
* Skip extra LLVM IR assemble/disassemble steps in some testsDavid Blaikie2015-04-242-4/+2
| | | | llvm-svn: 235736
* [opaque pointer type] bitcode: add explicit callee type to invoke instructionsDavid Blaikie2015-04-245-18/+33
| | | | llvm-svn: 235735
* Fix LoopInterchange/reductions.ll test for debug buildsAndrew Kaylor2015-04-241-2/+2
| | | | llvm-svn: 235734
* Teach AArch64\lit.local.cfg the new triple names windows-gnu and windows-msvc.Yaron Keren2015-04-241-1/+1
| | | | | | Tests were failing when built with -DLLVM_DEFAULT_TARGET_TRIPLE=i686-pc-windows-gnu. llvm-svn: 235733
* [CMake] Fix for PR 23328: LLVM_OPTIMIZED_TABLEGEN brokenChris Bieneman2015-04-241-3/+4
| | | | | | | | | | | | In CMake dependencies can be filenames or targets, and targets can't be filenames. The Ninja generator handles filename dependencies because it generates targets for every output file from a command. For example: add_custom_command(OUTPUT foo.txt COMMAND touch foo.txt) With the Ninja generator this generates a target foo.txt, but with the Makefile generator it doesn't. This is probably because Ninja explicitly requires these hard dependency ties, and Make just behaves oddly in general. To fix this we need to make the tablegen actions depend on a target rather than a filename. llvm-svn: 235732
* Linker: Update -override testcase to check callersDuncan P. N. Exon Smith2015-04-241-11/+13
| | | | | | | | Check that `@main` is calling `@foo2` (the renamed internal function), not the `@foo` with external linkage that's been pulled in from the override file. llvm-svn: 235730
* Switch lowering: fix APInt overflow causing infinite loop / OOMHans Wennborg2015-04-242-1/+65
| | | | llvm-svn: 235729
* [lsan] Add an interface function for on-demand leak checking.Sergey Matveev2015-04-244-39/+116
| | | | | | | | | | | | | | | | | | | | | | Summary: Add an interface function which can be used to periodically trigger leak detection in a long-running process. NB: The meaning of the kIgnored tag has been changed to allow easy clean-up between subsequent leak checks. Previously, this tag was applied to explicitly ignored (i.e. with __lsan_disable() or __lsan_ignore_object()) chunks *and* any chunks only reachable from those. With this change, it's only applied to explicitly ignored chunks. Reviewers: samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9159 llvm-svn: 235728
* Revert r235726 "interface"Sergey Matveev2015-04-241-17/+6
| | | | | | Accidentally committed from local branch. :( llvm-svn: 235727
* interfaceSergey Matveev2015-04-241-6/+17
| | | | llvm-svn: 235726
* [WinEH] Split the landingpad BB instead of cloning itReid Kleckner2015-04-247-29/+17
| | | | | | | This means we don't have to RAUW the landingpad instruction and landingpad BB, which is a nice win. llvm-svn: 235725
* Delete unnecessary generality in loadFile.Rafael Espindola2015-04-24139-1257/+1251
| | | | | | | | | | | | | loadFile could load mulitple files just because yaml has a feature for putting multiple documents in one file. Designing a linker around what yaml can do seems like a bad idea to me. This patch changes it to read a single file. There are further improvements to be done to the api and they will follow shortly. llvm-svn: 235724
* Fix typo in comment.Diego Novillo2015-04-241-1/+1
| | | | llvm-svn: 235723
* Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittestsDerek Schuff2015-04-24131-133/+159
| | | | | | | | | | | | | | Summary: This makes their local declarations match their definitions for ARM targets, where they have a different calling convention. This really only affects functions that use floating point types (since the runtime functions use soft-float, and some targets may default to hard-float) but it seemed good to make it uniform and do the int-only ones too. Differential Revision: http://reviews.llvm.org/D9062 llvm-svn: 235722
* Use the cleaner syntx value initialization to zero initialize POD structs.Yaron Keren2015-04-241-6/+3
| | | | | | Suggestion from David Blaikie! llvm-svn: 235721
* Silence clang warning: private field 'data_' is not used.Yaron Keren2015-04-242-0/+4
| | | | llvm-svn: 235720
* Silence clang warning: missing field 'Dr0' initializer.Yaron Keren2015-04-241-1/+2
| | | | llvm-svn: 235719
* [mips][FastISel] Specify which types we handle for integer extension.Vasileios Kalintiris2015-04-241-0/+7
| | | | | | | | | | | | | | | | | | Summary: Perform integer extension only when the destination type is one of i8, i16 & i32 and when the source type is i1, i8 or i16. For other combinations we fall back to SelectionDAG. This fixes the test MultiSource/Benchmarks/7zip that was failing in our out-of-tree MIPS buildbots. Reviewers: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9243 llvm-svn: 235718
* Removing dead code; NFC. This code was triggering a C4718 warning (recursive ↵Aaron Ballman2015-04-241-18/+0
| | | | | | call has no side effects, deleting) with MSVC. llvm-svn: 235717
* Fix condition detection in EmulateInstructionARMTamas Berghammer2015-04-241-2/+1
| | | | | | | | | | | | | The condition detection code is calculating the result of the condition based on the first 3 bit of the condition and then negate it if the LSB of the condition is set. It works for the normal conditions but 0b1110 and 0b1111 are special as both of them should evaluate to true independently the value of CPSR. This CL removes the negating logic from those cases. Differential revision: http://reviews.llvm.org/D9219 llvm-svn: 235715
* Fix order of b and blx instrction in EmulateInstructionARMTamas Berghammer2015-04-241-2/+2
| | | | | | | | | | In the previous ordering some "blx <label>" instruction was recognised as "b #imm24" instructions causing a failure in the instruction emulator. Differential revision: http://reviews.llvm.org/D9218 llvm-svn: 235714
* Fix write register context for arm "add<c> <Rd>, sp, #imm"Tamas Berghammer2015-04-241-1/+5
| | | | | | Differential revision: http://reviews.llvm.org/D9213 llvm-svn: 235713
* Use self.fail() in MiGdbSetShowTestCase.test_lldbmi_gdb_set_target_async_off ↵Ilia K2015-04-241-2/+1
| | | | | | (MI) llvm-svn: 235712
* Fix CMICmnLLDBDebuggerHandleEvents::GetProcessStdout/GetProcessStderr to use ↵Ilia K2015-04-245-18/+20
| | | | | | stream-record (MI) llvm-svn: 235711
* [BitcodeReader] Fix asserts when we read a non-vector type for ↵Filipe Cabecinhas2015-04-245-2/+18
| | | | | | | | | | insert/extract/shuffle Added some additional checking for vector types + tests. Bug found with AFL fuzz. llvm-svn: 235710
* Fix CMICmnMIOutOfBandRecord to accept stream-records (MI)Ilia K2015-04-242-10/+31
| | | | | | Previously the CMICmnMIOutOfBandRecord class worked only with async-records. llvm-svn: 235709
* [Mips] Simplify the code a bit using early returnSimon Atanasyan2015-04-241-14/+6
| | | | | | No functional changes. llvm-svn: 235708
* clang-format: Don't wrap after short first segments of builder calls.Daniel Jasper2015-04-242-1/+14
| | | | | | | | | | | | | | | Before: a() .aaaaa() .aaaaa() .aaaaa(); After: a().aaaaa() .aaaaa() .aaaaa(); llvm-svn: 235707
* [ARM] Update TODO notesDenis Protivensky2015-04-241-6/+7
| | | | llvm-svn: 235706
* [ARM] Implement R_ARM_COPY relocationDenis Protivensky2015-04-245-2/+106
| | | | | | This adds support of copying objects from shared libraries. llvm-svn: 235705
* [Msan] XFAIL the ftime.cc test on FreeBSDViktor Kutuzov2015-04-242-1/+4
| | | | | | Differential Revision: http://reviews.llvm.org/D9222 llvm-svn: 235704
* [Msan] Fix the backtrace.cc tests to build and pass on FreeBSDViktor Kutuzov2015-04-243-2/+5
| | | | | | Differential Revision: http://reviews.llvm.org/D9221 llvm-svn: 235703
* clang-format: More selectively detect QT's "signals".Daniel Jasper2015-04-242-1/+9
| | | | llvm-svn: 235702
* [Sanitizers] Do not call internal_sigdelset() on non-LinuxViktor Kutuzov2015-04-241-0/+2
| | | | | | Differential Revision: http://reviews.llvm.org/D9220 llvm-svn: 235701
* Correct extractelement constant foldingPawel Bylica2015-04-242-3/+10
| | | | | | | | | | | | | | | | Summary: Constant folding of extractelement with out-of-bound index produces undef also for indexes bigger than 64bit (instead of crash assert failure as before) Test Plan: Unit tests included. Reviewers: majnemer Reviewed By: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9225 llvm-svn: 235700
* Fix APInt long division algorithmPawel Bylica2015-04-242-201/+75
| | | | | | | | | | | | | | | | Summary: This patch fixes step D4 of Knuth's division algorithm implementation. Negative sign of the step result was not always detected due to incorrect "borrow" handling. Test Plan: Unit test that reveals the bug included. Reviewers: chandlerc, yaron.keren Reviewed By: yaron.keren Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9196 llvm-svn: 235699
* [TableGen] Clang changes for r235697 to stop leaking Expanders and Operators ↵Craig Topper2015-04-241-8/+7
| | | | | | in SetTheory. llvm-svn: 235698
* [TableGen] Don't leak Expanders and Operators in SetTheory.Craig Topper2015-04-244-27/+28
| | | | llvm-svn: 235697
OpenPOWER on IntegriCloud