summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Need to use rm -rf on dSYM bundle directories.Jason Molenda2014-03-081-2/+3
| | | | llvm-svn: 203332
* Remove extra space.Rui Ueyama2014-03-081-1/+1
| | | | llvm-svn: 203331
* Add API logging to the SBQueue/SBQueueItem/SBThread calls.Jason Molenda2014-03-083-8/+77
| | | | llvm-svn: 203330
* DebugInfo: Fix test fallout from r203323David Blaikie2014-03-081-1/+1
| | | | | | Will fix this harder in a moment. llvm-svn: 203329
* Add one more test for r203308.Rui Ueyama2014-03-082-4/+37
| | | | llvm-svn: 203328
* Experimentally enable --verify-debug-info on some testcases and see ifAdrian Prantl2014-03-082-2/+2
| | | | | | the buildbots can take it. llvm-svn: 203327
* Add back the original version of the test, too. (as XFAILed on Darwin)Adrian Prantl2014-03-081-0/+39
| | | | llvm-svn: 203326
* Add an option to disable plugins in clang.Rafael Espindola2014-03-081-3/+12
| | | | | | | | | An option with the same name already exists in the makefile build. The name CLANG_IS_PRODUCTION is historical. We should probably change it, but should change the configure build at the same time. llvm-svn: 203325
* Work around a bug in LLDB (it finds the wrong "C", rdar://problem/14933867)Adrian Prantl2014-03-081-12/+11
| | | | | | and enable this test on Darwin. llvm-svn: 203324
* DebugInfo: Use DW_FORM_data4 for DW_AT_high_pc in DW_TAG_lexical_blocksDavid Blaikie2014-03-082-2/+60
| | | | | | Suggested by Adrian Prantl in code review for r203187 llvm-svn: 203323
* Fix a bug that mergeCases table does not match the merge constants.Rui Ueyama2014-03-082-1/+3
| | | | | | | | | | MergeCases table should not have an entry for MergeContents because atoms with MergeContents attribute should never have name. This issue was not caught by a test because getting a value of 6th element of an array of array actually gets the first element's value of the next array, and that happened to be a valid value. Added asserts to catch that error. llvm-svn: 203322
* Revert "Add an option to disable plugins in clang."Rafael Espindola2014-03-081-6/+4
| | | | | | | | This reverts commit r203320. There is some order dependency going on that I missed. llvm-svn: 203321
* Add an option to disable plugins in clang.Rafael Espindola2014-03-081-4/+6
| | | | | | An option with the same name already exists in the makefile build. llvm-svn: 203320
* Add support for hashing location information for CU level hashes.Eric Christopher2014-03-085-7/+444
| | | | | | | Add a testcase based on sret.cpp where we can now hash the entire compile unit. llvm-svn: 203319
* Revert accidentally-committed file.Richard Smith2014-03-081-1/+0
| | | | llvm-svn: 203318
* Module [extern_c] attribute: inherit to submodules, don't write 'extern "C"'Richard Smith2014-03-089-16/+41
| | | | | | blocks when building in C mode, and serialize and deserialize the attribute. llvm-svn: 203317
* [DAGCombiner] Distribute TRUNC through AND in rotation amountAdam Nemet2014-03-071-0/+16
| | | | | | | | | | | | | | | | This is already done for shifts. Allow it for rotations as well. E.g.: (rotl:i32 x, (trunc (and y, 31))) -> (rotl:i32 x, (and (trunc y), 31)) Use the newly factored-out distributeTruncateThroughAnd. With this patch and some X86.td tweaks we should be able to remove redundant masking of the rotation amount like in the example above. HW implicitly performs this masking. The testcase will be added as part of the X86 patch. llvm-svn: 203316
* [DAGCombiner] Recognize another rotation idiomAdam Nemet2014-03-072-0/+134
| | | | | | | | | | | | | | | | This is the new idiom: x<<(y&31) | x>>((0-y)&31) which is recognized as: x ROTL (y&31) The change refines matchRotateSub. In Neg & (OpSize - 1) == (OpSize - Pos) & (OpSize - 1), if Pos is Pos' & (OpSize - 1) we can just use Pos' instead of Pos. llvm-svn: 203315
* [DAGCombiner] Slightly improve readability of matchRotateSubAdam Nemet2014-03-071-8/+9
| | | | | | | | | | Slightly change the wording in the function comment. Originally, it can be misunderstood as we turned the input into two subsequent rotates. Better connect the comment which talks about Mask and the code which used LoBits. Renamed variable to MaskLoBits. llvm-svn: 203314
* [docs] Add missing features for the x86-64 ELF backend.Michael J. Spencer2014-03-072-0/+30
| | | | llvm-svn: 203313
* Fix a small inferior process memory leak in ↵Jason Molenda2014-03-071-0/+2
| | | | | | SystemRuntimeMacOSX::PopulatePendingItemsForQueue(). llvm-svn: 203312
* ISel: Make VSELECT selection terminate in cases where the condition type has toArnold Schwaighofer2014-03-072-0/+25
| | | | | | | | | | | | | | | be split and the result type widened. When the condition of a vselect has to be split it makes no sense widening the vselect and thereby widening the condition. We end up in an endless loop of widening (vselect result type) and splitting (condition mask type) doing this. Instead, split both the condition and the vselect and widen the result. I ran this over the test suite with i686 and mattr=+sse and saw no regressions. Fixes PR18036. llvm-svn: 203311
* Re-enable ProcessElfCore for non-FreeBSD/Linux builds; with Greg's fix in ↵Jason Molenda2014-03-071-4/+0
| | | | | | | | r203274 this is not installing itself for Mach-O binaries. llvm-svn: 203310
* Remove unnecessary test for Darwin and update testcase to be a little lessAdrian Prantl2014-03-073-11/+12
| | | | | | | horrible/fragile. rdar://problem/16264854 llvm-svn: 203309
* [PECOFF] Support a new type of weak symbol.Rui Ueyama2014-03-077-26/+107
| | | | | | | | | | | | | | | Summary: COMDAT_SELECT_SAME_SIZE is a COMDAT type that I presume exist only in COFF. The semantics of the type is that linker should merge such COMDAT sections if their sizes are the same. Otherwise it's an error. Reviewers: Bigcheese, shankarke, kledzik CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2996 llvm-svn: 203308
* Add a virtual destructor to quiet a warning.Eric Christopher2014-03-071-0/+2
| | | | llvm-svn: 203307
* Range-ify some for loops.Owen Anderson2014-03-071-8/+4
| | | | llvm-svn: 203306
* Actually add the header file.Eric Christopher2014-03-071-0/+69
| | | | llvm-svn: 203305
* Two part patch:Eric Christopher2014-03-074-103/+106
| | | | | | | | | | | | | | | First: refactor out the emission of entries into the .debug_loc section into its own routine. Second: add a new class ByteStreamer that can be used to either emit using an AsmPrinter or hash using DIEHash the series of bytes that would be emitted. Use this in all of the location emission routines for the .debug_loc section. No functional change intended outside of a few additional comments in verbose assembly. llvm-svn: 203304
* Add include guards and make public a few routines that add valuesEric Christopher2014-03-071-1/+11
| | | | | | to the hash. llvm-svn: 203303
* Replace "can not" with "cannot" in diagnostics messages.Ismail Pazarbasi2014-03-0723-80/+80
| | | | llvm-svn: 203302
* Remove unused method declarationEli Bendersky2014-03-071-1/+0
| | | | llvm-svn: 203301
* Revert "Remove unnecessary check for Darwin. rdar://problem/16264854"Adrian Prantl2014-03-071-1/+1
| | | | | | This breaks linux buildbots. Go figure. llvm-svn: 203300
* In my tests, I'm finding that declaring iterators in terms of ranges can ↵Aaron Ballman2014-03-075-16/+41
| | | | | | | | sometimes have dangerous side-effects where the range temporary is destroyed, taking the underlying iterators out with it. This changes the iterators so that they are no longer implemented in terms of ranges (so it's a very partial revert of the existing rangification efforts). llvm-svn: 203299
* Moved test file from test/MC/Mips to test/CodeGen/Mips.Sasa Stankovic2014-03-071-0/+0
| | | | llvm-svn: 203298
* Remove unnecessary check for Darwin. rdar://problem/16264854Adrian Prantl2014-03-071-1/+1
| | | | llvm-svn: 203297
* DebugInfo: Use DW_FORM_data4 for DW_AT_high_pc in inlined functionsDavid Blaikie2014-03-072-4/+4
| | | | | | Suggested by Adrian Prantl in code review for r203187. llvm-svn: 203296
* DebugInfo: Update test to cover linux (with a FIXME...) tooDavid Blaikie2014-03-071-6/+10
| | | | llvm-svn: 203295
* [C++11] Revert uses of lambdas with array_pod_sort.Benjamin Kramer2014-03-072-9/+11
| | | | | | Looks like GCC implements the lambda->function pointer conversion differently. llvm-svn: 203294
* [C++11] Revert uses of lambdas with array_pod_sort.Benjamin Kramer2014-03-074-23/+31
| | | | | | Looks like GCC implements the lambda->function pointer conversion differently. llvm-svn: 203293
* Remove unused code.Greg Clayton2014-03-072-103/+0
| | | | llvm-svn: 203292
* Update status for LWG 2193 and 2344.Marshall Clow2014-03-071-3/+3
| | | | llvm-svn: 203291
* Implement LWG #2344: quoted()'s interaction with padding is unclear. I think ↵Marshall Clow2014-03-072-9/+25
| | | | | | that anyone using quoted with padding is really confused, but it should work the way the rest of iostreams works. llvm-svn: 203290
* [C++11] Convert sort predicates into lambdas.Benjamin Kramer2014-03-076-50/+35
| | | | | | No functionality change. llvm-svn: 203289
* [C++11] Convert sort predicates into lambdas.Benjamin Kramer2014-03-077-62/+33
| | | | | | No functionality change. llvm-svn: 203288
* Actually include the ArrayRef header rather than rely on the forwardEric Christopher2014-03-071-2/+1
| | | | | | declaration. llvm-svn: 203287
* Fix up formatting.Eric Christopher2014-03-071-9/+8
| | | | llvm-svn: 203286
* Fix EXPECT_* to not produce a compile warning.Eli Bendersky2014-03-071-2/+2
| | | | | | EXPECT_TRUE/FALSE is also more idiomatic for booleans than EXPECT_EQ llvm-svn: 203284
* [-Wunreachable-code] Treat constant globals as configuration values in ↵Ted Kremenek2014-03-072-2/+21
| | | | | | | | | unreachable code heuristics. This one could possibly be refined even further; e.g. looking at the initializer and see if it is truly a configuration value. llvm-svn: 203283
* Zap another dead 'break' statement.Ted Kremenek2014-03-071-1/+0
| | | | llvm-svn: 203282
OpenPOWER on IntegriCloud