summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix c-unicode.c testcase again.Matthias Braun2015-11-211-3/+3
| | | | | | | | Specifying a fixed triple is not possible because that target may not even be compiler. Go for a simpler fix by using a _? regex for the prefix. llvm-svn: 253758
* ARMLoadStoreOptimizer: Cleanup isMemoryOp(); NFCMatthias Braun2015-11-211-33/+33
| | | | llvm-svn: 253757
* Create `lldbsuite.support.fs` and move `find_executable` there.Zachary Turner2015-11-212-58/+73
| | | | | | | I have plans to reuse this function in another script, so raising this out of prepare_bindings allows this. llvm-svn: 253755
* Fix testcase when building on darwinMatthias Braun2015-11-211-2/+2
| | | | | | Explicitely specify a target to avoid "_" prefixes on the names. llvm-svn: 253741
* llvm-link option and test for recent metadata mapping bugTeresa Johnson2015-11-212-0/+18
| | | | | | | | | | | | | | | | | | | | | | | Summary: Add a -preserve-modules option to llvm-link that simulates LTO clients that don't destroy modules as they are linked. This enables reproduction of a recent bug introduced by a metadata linking change that was only caught when the modules weren't destroyed before writing bitcode (LTO on Windows). See http://llvm.org/viewvc/llvm-project?view=revision&revision=253170 for more details on the original bug and the fix. Confirmed the new test added here reproduces the failure using the new option when I suppress the fix. Reviewers: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14818 llvm-svn: 253740
* Fix Xcode project after recent Windows core file changes.Greg Clayton2015-11-201-0/+8
| | | | llvm-svn: 253739
* [clang] Disable Unicode in asm filesVinicius Tinti2015-11-203-2/+25
| | | | | | | | | Clang should not convert tokens to Unicode when preprocessing assembly files. Fixes PR25558. llvm-svn: 253738
* Test commitVinicius Tinti2015-11-201-4/+4
| | | | llvm-svn: 253737
* [llvm-rtdyld] Message() is used only once. Inline. NFC.Davide Italiano2015-11-201-5/+1
| | | | llvm-svn: 253736
* Mention new InstrProfilingWriter file in clang_{darwin|linux}.mkMatthias Braun2015-11-202-2/+4
| | | | | | I hope this fixes our internal buildbots (rdar://23614130) llvm-svn: 253735
* Enable saving of mini dumps with lldb process save-core.Adrian McCarthy2015-11-2013-5/+218
| | | | | | | | Also adds SB API to save a core and tests that use it. Differential Revision: http://reviews.llvm.org/D14793 llvm-svn: 253734
* Add some constantness to GetSuccessorNumber().Rong Xu2015-11-202-3/+4
| | | | llvm-svn: 253733
* Newer versions of the ObjC runtime have an extra field in objc_opt_t.Sean Callanan2015-11-201-6/+32
| | | | llvm-svn: 253732
* [coroutines] Better handling of placeholder types.Richard Smith2015-11-202-6/+45
| | | | llvm-svn: 253731
* Move free-zext.ll to llvm/test/Transforms/CodeGenPrepare/AArch64/NAKAMURA Takumi2015-11-201-0/+0
| | | | llvm-svn: 253730
* [asan] Disable the test on i386 Darwin.Anna Zaks2015-11-201-0/+5
| | | | | | | | This test checks if we can print a backtrace from the death callback. On old OS X versions, backtrace is not able to symbolicate the trace past the ASan runtime because we build with -fomit-frame-pointer. llvm-svn: 253729
* Update documents.Rui Ueyama2015-11-202-3/+9
| | | | llvm-svn: 253728
* Remove trailing whitespaces and untabify.Rui Ueyama2015-11-201-9/+8
| | | | llvm-svn: 253727
* [coroutines] Support braced-init-list as operand of co_yield expression.Richard Smith2015-11-202-3/+7
| | | | llvm-svn: 253726
* [coroutines] Synthesize yield_value call for co_yield.Richard Smith2015-11-202-17/+69
| | | | llvm-svn: 253725
* Power8 and later support fusing addis/addi and addis/ld instructionEric Christopher2015-11-203-1/+7
| | | | | | | | | pairs that use the same register to execute as a single instruction. No Functional Change Patch by Kyle Butt! llvm-svn: 253724
* Fix another infinite loop in Reassociate caused by Constant::isZero().Owen Anderson2015-11-202-0/+23
| | | | | | Not all zero vectors are ConstantDataVector's. llvm-svn: 253723
* [CodeGenPrepare] Create more extloads and fewer andsGeoff Berry2015-11-203-1/+315
| | | | | | | | | | | | | | | Summary: Add and instructions immediately after loads that only have their low bits used, assuming that the (and (load x) c) will be matched as a extload and the ands/truncs fed by the extload will be removed by isel. Reviewers: mcrosier, qcolombet, ab Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14584 llvm-svn: 253722
* [CMake] Add support for specifying arguments to the bootstrap build.Chris Bieneman2015-11-201-0/+31
| | | | | | | | | | This adds support for three types of argument specifications for bootstrap builds: (1) Arguments prefixed with BOOTSTRAP_* will be passed through with the leading BOOTSTRAP_ removed. (2) CLANG_BOOTSTRAP_PASSTHROUGH can specify a list of variables to be passed through as they are set. (3) BOOTSTRAP_DEFAULT_PASSTHROUGH is a list of some default passthrough variables that are always passed through. Those variables include the version string and should only specify variables that are always expected to be the same between the stage1 and stage2 llvm-svn: 253721
* [CMake] Fix handling of passing through semi-colon separated lists.Chris Bieneman2015-11-201-1/+2
| | | | | | When passing around CMake arguments as lists of arguments any arguments containing lists need to have their semi-colons escaped otherwise CMake will split the arguments in the middle. llvm-svn: 253720
* [CMake] Fix handling of passing through semi-colon separated lists.Chris Bieneman2015-11-201-1/+2
| | | | | | When passing around CMake arguments as lists of arguments any arguments containing lists need to have their semi-colons escaped otherwise CMake will split the arguments in the middle. llvm-svn: 253719
* [ShrinkWrap] Teach ShrinkWrap to handle targets requiring a register scavenger.Arnaud A. de Grandmaison2015-11-202-15/+206
| | | | | | | | The included test only checks for a compiler crash for now. Several people are facing this issue, so we first resolve the crash, and will increase shrinkwrap's coverage later in a follow-up patch. llvm-svn: 253718
* SamplePGO - Tweak RUN command for a test. NFC.Diego Novillo2015-11-201-1/+1
| | | | llvm-svn: 253717
* SamplePGO - Do not count never-executed inlined functions when computing ↵Diego Novillo2015-11-203-5/+176
| | | | | | | | | | | | | | | coverage. If a function was originally inlined but not actually hot at runtime, its samples will not be counted inside the parent function. This throws off the coverage calculation because it expects to find more used records than it should. Fixed by ignoring functions that will not be inlined into the parent. Currently, this is inlined functions with 0 samples. In subsequent patches, I'll change this to mean "cold" functions. llvm-svn: 253716
* [ELF/AArch64] Add support for LDST8_ABS_LO12_NC/LDST64_ABS_LO12_NC.Davide Italiano2015-11-202-0/+36
| | | | | | | These two relocations where the only missing step to get a dynamically linked (with libc) "hello world" on FreeBSD. llvm-svn: 253714
* Define -E as an alias for --export-dynamic.Rui Ueyama2015-11-201-0/+1
| | | | llvm-svn: 253713
* Re-enable CFI tests on Windows.Peter Collingbourne2015-11-201-4/+1
| | | | | | Clang driver was fixed in r253707. llvm-svn: 253712
* [AArch64]Merge narrow zero stores to a wider storeJun Bum Lim2015-11-202-16/+168
| | | | | | | | | | | | | This change merges adjacent zero stores into a wider single store. For example : strh wzr, [x0] strh wzr, [x0, #2] becomes str wzr, [x0] This will fix PR25410. llvm-svn: 253711
* Remove default values that are always overriden in Driver.cpp.Rui Ueyama2015-11-201-3/+3
| | | | llvm-svn: 253710
* [CMake] Add iOS simulator to the supported OS list for the profile library.Chris Bieneman2015-11-201-0/+1
| | | | | | We already support this in autoconf and it ships in Apple Clang. llvm-svn: 253709
* Weak non-function symbols were being accessed directly, which isEric Christopher2015-11-206-47/+91
| | | | | | | | | | incorrect, as the chosen representative of the weak symbol may not live with the code in question. Always indirect the access through the TOC instead. Patch by Kyle Butt! llvm-svn: 253708
* Driver: Defer computation of linker path until it is needed.Peter Collingbourne2015-11-206-15/+12
| | | | | | | This allows us to construct Linux toolchains without a valid linker. This is needed for example to build a CUDA device toolchain after r253385. llvm-svn: 253707
* Fix test case function name checksBill Seurer2015-11-201-3/+3
| | | | | | | | | This is similar to the earlier fix I did, r253702, expect that here it is function names that are being searched for. If the function name matches part of the directory name it can cause an apparent test case failure. llvm-svn: 253706
* [Hexagon] Fix the return value from HexagonGenInsert::runOnMachineFunctionKrzysztof Parzyszek2015-11-201-5/+7
| | | | llvm-svn: 253705
* Revert "Make skipIf support the not_in function (second attempt)."Siva Chandra2015-11-201-15/+11
| | | | | | | | | | | | Summary: This reverts commit 70dca28976ee8137acce2cc203dd394f4d761276. Reviewers: amccarth, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14881 llvm-svn: 253704
* [PGO] Fix buildbot failure on FreeBSD (when building __x86_64__ lib)Xinliang David Li2015-11-201-0/+7
| | | | | | | | There seems to be a problem in system header (stdint.h) of FreeBSD where uint8_t nor uint16_t are defined. Explicitly define the key types as done for FreeBSD i386. llvm-svn: 253703
* Fix test case label checkBill Seurer2015-11-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several (but not all) of the labels that are checked for in this test case are checked as strings instead of labels. This can cause an apparent test case failure if they are tested in an appropriately named directory. For example, one of them that fails: define zeroext i32 @test2(i32 %A.u, i32 %B.u) { ; A8: test2 ; A8: uxtab r0, r0, r1 Output that causes it to fail: . . . .file "/home/seurer/llvm/llvm-test2/test/CodeGen/Thumb2/thumb2-uxt_rot.ll" . . . .globl test2 .align 1 .type test2,%function .code 16 @ @test2 .thumb_func test2: .fnstart The "A8: test2" matches on the directory name instead of the label. llvm-svn: 253702
* [compiler-rt] Do not pull in min and max macros from windows.hAnna Zaks2015-11-201-0/+2
| | | | | | This should fix Windows buildbot breakage triggered by r253690. llvm-svn: 253701
* [PGO] Profile runtime name cleanupsXinliang David Li2015-11-203-44/+48
| | | | | | | | | | | | | Value profile enumerator change to match LLVM code ProfData new member field name change to match LLVM code ProfData member type change to match LLVM code Do not use lower case for types that are internal to implementation (not exposed to APIs) There is no functional change. This is a preparation patch to enable more code sharing in follow up patches Differential Revision: http://reviews.llvm.org/D14841 llvm-svn: 253700
* Call Platform::SetHostPlatform in the NetBSD platform only on NetBSDEd Maste2015-11-201-0/+2
| | | | | | | | Patch by Kamil Rytarowski Differential Revision: http://reviews.llvm.org/D14876 llvm-svn: 253699
* Fix the Windows build, include <tuple> for std::tieReid Kleckner2015-11-201-0/+1
| | | | llvm-svn: 253698
* Use the system clang, since this support should now be in; does not un-xfail ↵Enrico Granata2015-11-202-12/+2
| | | | | | the test yet llvm-svn: 253697
* Revert "[FunctionAttrs] Remove redundant assignment."Tilmann Scheller2015-11-201-0/+2
| | | | | | | | | | This reverts r253661. Turns out that the assignment is not redundant (despite the Clang static analyzer claiming the opposite). The variable is being used by the lambda function AddUsersToWorklistIfCapturing(). llvm-svn: 253696
* [llvm-profdata] Add merge() to InstrProfRecordNathan Slingerland2015-11-202-54/+57
| | | | | | | | | | | | | | | | | Summary: This change refactors two aspects of InstrProfRecord: 1) Add a merge() method to InstrProfRecord (previously InstrProfWriter combineInstrProfRecords()) in order to better encapsulate this functionality and to make the InstrProfRecord and SampleRecord APIs more consistent. 2) Make InstrProfRecord mergeValueProfData() a private method since it is only ever called internally by merge(). Reviewers: dnovillo, bogner, davidxl Subscribers: silvas, vsk, llvm-commits Differential Revision: http://reviews.llvm.org/D14786 llvm-svn: 253695
* Thread Safety Analysis: Fix DenseMap iterator invalidation UAFReid Kleckner2015-11-201-39/+36
| | | | | | | | | | | Rather than storing BeforeInfo in the DenseMap by value, this stores a unique_ptr to it, so that we can keep a pointer to it live across subsequent DenseMap insertions. This change also removes the unique_ptr wrapper around BeforeVect because now we're indirecting at a higher level. llvm-svn: 253694
OpenPOWER on IntegriCloud