summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 80-colMichael J. Spencer2013-02-071-5/+10
| | | | llvm-svn: 174572
* Preserve fast-math flags after reassociation and commutation. Update test casesMichael Ilseman2013-02-072-9/+24
| | | | llvm-svn: 174571
* AST dumping: indicate the previous declaration for a redeclaration, andRichard Smith2013-02-072-1/+40
| | | | | | | indicate the semantic DC if it's not the lexical DC. In passing, correct the ascii-art child marker for a child of a FriendDecl. llvm-svn: 174570
* whitespaceMichael Ilseman2013-02-071-12/+12
| | | | llvm-svn: 174569
* [Object][ELF] Do the actual devirtualization.Michael J. Spencer2013-02-071-2/+2
| | | | llvm-svn: 174568
* Be a little more permissive with -fmodules-ignore-macro= by removing ↵Douglas Gregor2013-02-073-16/+13
| | | | | | everything after the second '=' if it is there. llvm-svn: 174567
* [Object][ELF] Devirtualize and simplify dynamic table iteration.Michael J. Spencer2013-02-071-182/+70
| | | | llvm-svn: 174566
* Add a *San + modules FIXME.Richard Smith2013-02-071-0/+2
| | | | llvm-svn: 174565
* Fix CMake detection of various cmath functions, and XFAIL the test on ↵Owen Anderson2013-02-073-6/+26
| | | | | | platforms that are known to be missing them. llvm-svn: 174564
* [build/Darwin] Use the correct libc++abi reexport list.Daniel Dunbar2013-02-071-1/+9
| | | | | | | - This updates the build script to match the change originally in r149634, so that we re-export symbols from libc++abi appropriately. llvm-svn: 174563
* [build] Detabify.Daniel Dunbar2013-02-071-44/+44
| | | | llvm-svn: 174562
* Conditionalize constant folding of math intrinsics on the availability of an ↵Owen Anderson2013-02-075-0/+146
| | | | | | implementation on the host. This is a little bit unfortunate, but until someone decides to implement a full libm for APFloat, we don't have a better way to get this functionality. llvm-svn: 174561
* Introduce -fmodules-ignore-macro=NNN to ignore a macro when building/loading ↵Douglas Gregor2013-02-076-6/+87
| | | | | | | | | | | | | | | | | | | | | modules. The use of this flag enables a modules optimization where a given set of macros can be labeled as "ignored" by the modules system. Definitions of those macros will be completely ignored when building the module hash and will be stripped when actually building modules. The overall effect is that this flag can be used to drastically reduce the number of Eventually, we'll want modules to tell us what set of macros they respond to (the "configuration macros"), and anything not in that set will be excluded. However, that requires a lot of per-module information that must be accurate, whereas this option can be used more readily. Fixes the rest of <rdar://problem/13165109>. llvm-svn: 174560
* Formatter: Move ObjC literal tests to its own test case.Nico Weber2013-02-071-13/+21
| | | | | | | Slightly expand the boxed expressions test with a few more snippets from http://clang.llvm.org/docs/ObjectiveCLiterals.html llvm-svn: 174559
* Be ready for fully qualified hash names in the __apples_types tables.Greg Clayton2013-02-062-9/+97
| | | | llvm-svn: 174558
* Fixed a problem that would cause LLDB to crashSean Callanan2013-02-062-0/+10
| | | | | | | | | | | if it encountered bad debug information. This debug information had an Objective-C method whose selector disagreed with the true number of arguments to that method. <rdar://problem/12992864> llvm-svn: 174557
* Removed debug print line I left in.Greg Clayton2013-02-061-2/+0
| | | | llvm-svn: 174556
* Signficantly generalize our ability to constant fold floating point ↵Owen Anderson2013-02-062-14/+130
| | | | | | intrinsics, including ones on half types. llvm-svn: 174555
* Detect when we end up trying to load conflicting module files.Douglas Gregor2013-02-066-4/+68
| | | | | | | | | | | | This can happen when one abuses precompiled headers by passing more -D options when using a precompiled hedaer than when it was built. This is intentionally permitted by precompiled headers (and is exploited by some build environments), but causes problems for modules. First part of <rdar://problem/13165109>, detecting when something when horribly wrong. llvm-svn: 174554
* Fix typoEli Bendersky2013-02-061-1/+1
| | | | llvm-svn: 174553
* [Support][ErrorOr] Add support for convertable types.Michael J. Spencer2013-02-062-42/+107
| | | | | | Thanks to Andrew, David, and Aaron for helping fix this. llvm-svn: 174552
* Add a comment to the test that points to the source from which the input objectEli Bendersky2013-02-061-0/+1
| | | | | | file was generated. llvm-svn: 174551
* Code Custodian (trivial whitespace cleanup)Joe Abbey2013-02-062-67/+66
| | | | llvm-svn: 174550
* Fix bug in the alignment of comments.Daniel Jasper2013-02-062-1/+11
| | | | | | | | | | | | | | | | | | | | Before: const char *test[] = { // A "aaaa", // B "aaaaa", }; After: const char *test[] = { // A "aaaa", // B "aaaaa", }; llvm-svn: 174549
* Clean up multiple skeleton compile units if we have multiple compileEric Christopher2013-02-062-8/+6
| | | | | | units coming in. llvm-svn: 174548
* Remove some dead code.Eric Christopher2013-02-062-34/+0
| | | | llvm-svn: 174547
* [mips] Make NOP a pseudo instruction and expand it to "sll $zero, $zero, 0".Akira Hatanaka2013-02-063-15/+7
| | | | llvm-svn: 174546
* Become a little smarter with formatting long chains of pipes.Daniel Jasper2013-02-062-1/+16
| | | | | | | | | | | | | | | | | | | | | Assign a high penalty to breaking before "<<" if the previous token is a string literal ending in ":" or "=". Before: llvm::outs() << "aaaaaaaaaaaaaaaaa = " << aaaaaaaaaaaaaaaaa << "bbbbbbbbbbbbbbbbb = " << bbbbbbbbbbbbbbbbb << "ccccccccccccccccc = " << ccccccccccccccccc << "ddddddddddddddddd = " << ddddddddddddddddd << "eeeeeeeeeeeeeeeee = " << eeeeeeeeeeeeeeeee; After: llvm::outs() << "aaaaaaaaaaaaaaaaa = " << aaaaaaaaaaaaaaaaa << "bbbbbbbbbbbbbbbbb = " << bbbbbbbbbbbbbbbbb << "ccccccccccccccccc = " << ccccccccccccccccc << "ddddddddddddddddd = " << ddddddddddddddddd << "eeeeeeeeeeeeeeeee = " << eeeeeeeeeeeeeeeee; llvm-svn: 174545
* Marcin Zalewski: Change the name of a template parameter in __copy_backward ↵Howard Hinnant2013-02-061-2/+2
| | | | | | from _InputIterator to _BidirectionalIterator to better document the intent of the algorithm. llvm-svn: 174544
* Add a test for checking the current .debug_frame dumping capability.Eli Bendersky2013-02-063-0/+28
| | | | | | | | The test is a binary placed in test/DebugInfo/Inputs, with a source C file used for reference/reproducing. The source's first line is a clang build command for reproducing the binary. llvm-svn: 174543
* This is a follow-up on r174446, now taking Atom processors intoEli Bendersky2013-02-062-6/+37
| | | | | | | | | | | | account. Atoms use LEA for updating SP in prologs/epilogs, and the exact LEA opcode depends on the data model. Also reapplying the test case which was added and then reverted (because of Atom failures), this time specifying explicitly the CPU in addition to the triple. The test case now checks all variations (data mode, cpu Atom vs. Core). llvm-svn: 174542
* Canonicalize line endings to Linux style also when the --strict-whitespace ↵Guy Benyei2013-02-063-11/+27
| | | | | | flag is in use. This flag is supposed to affect horizontal whitespaces only. llvm-svn: 174541
* Cleanup of ASTMatcher macros and adding support for overloaded matchers.Manuel Klimek2013-02-065-194/+164
| | | | | | | | | | This is in preparation for adding other overloaded matchers. This change alone is a net win in LOC. I went through all matchers and looked whether we could now encode them as macro, or simplify them with the matcher atoms that were not available before. llvm-svn: 174540
* Give a lot more timing latitude to some of the timing tests. Busy buildbots ↵Howard Hinnant2013-02-065-8/+8
| | | | | | are hitting the timing limits too often. llvm-svn: 174539
* [tests] Infer the cxx_under_test (as clang++).Daniel Dunbar2013-02-061-4/+11
| | | | | | | | | - This is a reasonable default, and makes testing just work with no required parameters. - Add notes on all of the inferred or default values. llvm-svn: 174538
* Align trailing block comments like trailing line comments.Daniel Jasper2013-02-062-8/+14
| | | | llvm-svn: 174537
* Improve comment.Bill Wendling2013-02-061-2/+6
| | | | llvm-svn: 174536
* Partially revert r152770. That commit moved the default handlers to their ↵Howard Hinnant2013-02-061-9/+5
| | | | | | own file. But it also did some refactoring. It is the latter that is being reverted. The refactoring had accidentally removed the required effect that the default unexpected_handler calls std::terminate(), which is a visible effect. llvm-svn: 174532
* Remove unneeded test. We have plenty of subgroup relations between warnings,Ted Kremenek2013-02-061-16/+0
| | | | | | and for those we care about we should have a general way of testing them. llvm-svn: 174531
* Accept and ignore the -fextended-identifiers option.Jordan Rose2013-02-062-0/+10
| | | | | | | | | | | | This was GCC's option to turn on UCN support, which we always have on now in C99 and C++ modes. Additionally, mark the -fno-extended-identifiers option as unsupported, since we don't support disabling UCNs in C99 and C++ modes. PR11538 llvm-svn: 174530
* Eliminate a race condition with the global module index.Douglas Gregor2013-02-061-1/+2
| | | | | | | | Essentially, a module file on disk could change size between the time we stat() it and the time we open it, and we need to be robust against such a problem. llvm-svn: 174529
* [tests] Change test default to run against locally built library.Daniel Dunbar2013-02-061-3/+3
| | | | llvm-svn: 174528
* [tests] Enable use_system_lib support on Linux.Daniel Dunbar2013-02-061-1/+2
| | | | | | - Patch by Michael van der Westhuizen. llvm-svn: 174527
* PPC calling convention cleanup.Bill Schmidt2013-02-062-75/+46
| | | | | | | | Most of PPCCallingConv.td is used only by the 32-bit SVR4 ABI. Rename things to clarify this. Also delete some code that's been commented out for a long time. llvm-svn: 174526
* R600: Support for indirect addressing v4Tom Stellard2013-02-0630-75/+1124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only implemented for R600 so far. SI is missing implementations of a few callbacks used by the Indirect Addressing pass and needs code to handle frame indices. At the moment R600 only supports array sizes of 16 dwords or less. Register packing of vector types is currently disabled, which means that a vec4 is stored in T0_X, T1_X, T2_X, T3_X, rather than T0_XYZW. In order to correctly pack registers in all cases, we will need to implement an analysis pass for R600 that determines the correct vector width for each array. v2: - Add support for i8 zext load from stack. - Coding style fixes v3: - Don't reserve registers for indirect addressing when it isn't being used. - Fix bug caused by LLVM limiting the number of SubRegIndex declarations. v4: - Fix 64-bit defines llvm-svn: 174525
* <rdar://problem/13159777> Greg Clayton2013-02-0621-196/+406
| | | | | | | | | | | | | | lldb was mmap'ing archive files once per .o file it loads, now it correctly shares the archive between modules. LLDB was also always mapping entire contents of universal mach-o files, now it maps just the slice that is required. Added a new logging channel for "lldb" called "mmap" to help track future regressions. Modified the ObjectFile and ObjectContainer plugin interfaces to take a data offset along with the file offset and size so we can implement the correct caching and efficient reading of parts of files without mmap'ing the entire file like we used to. The current implementation still keeps entire .a files mmaped (once) and entire slices from universal files mmaped to ensure that if a client builds their binaries during a debug session we don't lose our data and get corrupt object file info and debug info. llvm-svn: 174524
* Fix bug in test harness to allow running dotest.py without "--executable" ↵Daniel Malea2013-02-061-1/+3
| | | | | | | | flag on Linux - resolves errors in cases that run the lldb CLI utility llvm-svn: 174522
* Formatter: Correctly detect ObjC message expressions preceded by a comment.Nico Weber2013-02-062-11/+20
| | | | llvm-svn: 174521
* Fix to build tests with GCC: update makefiles in two watchpoint testcasesDaniel Malea2013-02-062-2/+2
| | | | llvm-svn: 174520
* Fix GCC 4.6 build by avoiding delegating ctorsDaniel Malea2013-02-061-3/+7
| | | | | | Patch by Abid Hafiz! llvm-svn: 174519
OpenPOWER on IntegriCloud