summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [utils] Remove the OptionalTests subdir no one runs.Daniel Dunbar2013-01-254-371/+0
| | | | llvm-svn: 173491
* [utils] Remove C++Tests that I don't think anyone uses anymore.Daniel Dunbar2013-01-2510-333/+0
| | | | llvm-svn: 173490
* When encountering an unknown file format, ObjectFile::createObjectFile shouldEli Bendersky2013-01-252-1/+8
| | | | | | | | | politely report it instead of running into llvm_unreachable. Also patch llvm-dwarfdump to actually check whether the file it's attempting to dump is a valid object file. llvm-svn: 173489
* [CMake] Setup include dirs properly.Michael J. Spencer2013-01-253-24/+16
| | | | llvm-svn: 173488
* This is no trule.David Blaikie2013-01-251-1/+1
| | | | llvm-svn: 173487
* Silence unintended fallthrough diagnostic on a case label preceded with a ↵Alexander Kornienko2013-01-252-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | normal label. Summary: It's unlikely that a fallthrough is unintended in the following code: switch (n) { ... label: case 1: ... goto label; ... } Reviewers: rsmith, doug.gregor Reviewed By: doug.gregor CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D329 llvm-svn: 173486
* Disable confirmation prompts for testingDaniel Malea2013-01-252-0/+6
| | | | | | | - set auto-confirm to false when running TestExprs (avoid hang when using API) - set prompt-on-quit to false in test helper (avoid timeout when using lldb CLI) llvm-svn: 173485
* FileCheck'ize testsDmitri Gribenko2013-01-252-6/+11
| | | | llvm-svn: 173484
* Remove hardcoded -arch from lang/cpp testcase makefilesDaniel Malea2013-01-253-2/+5
| | | | | | - skip rdar12991846 (already marked expected-fail) to avoid introducing a i386 crash llvm-svn: 173483
* Migrate tests to -verify and merge themDmitri Gribenko2013-01-252-7/+8
| | | | llvm-svn: 173482
* Improve the !add TableGen test case.Hal Finkel2013-01-251-0/+3
| | | | | | Suggested by Sean Silva. llvm-svn: 173481
* Add command-line flags for DWARF dumping.Eli Bendersky2013-01-255-65/+131
| | | | | | | Flags for dumping specific DWARF sections added in lib/DebugInfo and llvm-dwarfdump. llvm-svn: 173480
* Add instruction encodings / disassembly support for l5r instructions.Richard Osborne2013-01-254-12/+66
| | | | llvm-svn: 173479
* Fixed typo.Michael Gottesman2013-01-251-2/+2
| | | | llvm-svn: 173478
* Fix order of operands for l5r instructions.Richard Osborne2013-01-252-18/+22
| | | | | | | With this change the operands order matches the order in which the operands are encoded in the instruction. llvm-svn: 173477
* Use correct mnemonic / instruction name for ldivu.Richard Osborne2013-01-251-4/+3
| | | | llvm-svn: 173476
* LoopVectorize: Simplify code. No functionality change.Benjamin Kramer2013-01-251-26/+17
| | | | llvm-svn: 173475
* added ability to dynamically change the ExportList of an alreadyPedro Artigas2013-01-251-0/+10
| | | | | | created InternalizePass (useful for pass reuse) llvm-svn: 173474
* Fix buildbot building errors.Greg Clayton2013-01-254-8/+8
| | | | llvm-svn: 173473
* Added new section to the git-svn getting started section that provides aMichael Gottesman2013-01-251-0/+28
| | | | | | | custom git script called git-svnup which handles all of the work of using the git-mirrors/keeping the git-svn numbers in sync. llvm-svn: 173472
* LoopVectorizer: Refactor more code to use the IRBuilder. Nadav Rotem2013-01-251-24/+25
| | | | llvm-svn: 173471
* Fix indenting typo in TestSTL.pyDaniel Malea2013-01-251-1/+1
| | | | llvm-svn: 173470
* [tests] Force a triple to ensure /usr/include is one of the entries.Daniel Dunbar2013-01-251-1/+2
| | | | llvm-svn: 173469
* Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>Bob Wilson2013-01-251-0/+3
| | | | llvm-svn: 173468
* Refactor some code to use the IRBuilder.Nadav Rotem2013-01-251-20/+21
| | | | llvm-svn: 173467
* <rdar://13073234>Han Ming Ong2013-01-251-6/+5
| | | | | | Get the number of threads correct. llvm-svn: 173466
* [build/clang_darwin] Don't try to run sw_vers if we don't have it.Daniel Dunbar2013-01-251-1/+3
| | | | | | - Also, fix the test this is guarding, which was backwards. llvm-svn: 173465
* [tests] Add a test for -iwithprefix.Daniel Dunbar2013-01-251-0/+16
| | | | | | | - This just scratches the surface, We have pretty horrible test coverage in this area it seems like, but this at least covers the change in r173410. llvm-svn: 173464
* <rdar://problem/13069948>Greg Clayton2013-01-25248-1817/+1676
| | | | | | | | | | | | Major fixed to allow reading files that are over 4GB. The main problems were that the DataExtractor was using 32 bit offsets as a data cursor, and since we mmap all of our object files we could run into cases where if we had a very large core file that was over 4GB, we were running into the 4GB boundary. So I defined a new "lldb::offset_t" which should be used for all file offsets. After making this change, I enabled warnings for data loss and for enexpected implicit conversions temporarily and found a ton of things that I fixed. Any functions that take an index internally, should use "size_t" for any indexes and also should return "size_t" for any sizes of collections. llvm-svn: 173463
* Add space after ';'.Fariborz Jahanian2013-01-252-5/+5
| | | | llvm-svn: 173462
* Improve diagnsotic further on integer overflow.Fariborz Jahanian2013-01-252-5/+6
| | | | llvm-svn: 173461
* Rename variable to be more comprehensible and follow naming conventionEli Bendersky2013-01-251-4/+4
| | | | llvm-svn: 173460
* APFloat: Make sure that we get a well-formed x87 NaN when converting from a ↵Benjamin Kramer2013-01-252-0/+32
| | | | | | | | smaller type. Fixes PR15054. llvm-svn: 173459
* Don't suggest to insert [[clang::fallthrough]] before empty cases. Fix for ↵Alexander Kornienko2013-01-252-5/+12
| | | | | | multiple case labels. llvm-svn: 173458
* Fix some alignment and line break decisions.Daniel Jasper2013-01-252-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | This combines two small changes: 1) Put a penalty on breaking after "<" 2) Only produce a hanging indent when parameters are separated by commas. Before: aaaaaaaaaaaaaaaaaaaaaaaa< aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa>(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); aaaaaa(new Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaa)); After: aaaaaaaaaaaaaaaaaaaaaaaa<aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa>( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); aaaaaa(new Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaa)); This changes one ObjC test, but AFAICT this is not according to any style guide (neither before nor after). We probably should be aligning on the ":" there according to: http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml?showone=Method_Invocations#Method_Invocations llvm-svn: 173457
* [msan] Tests for ICmp handling.Evgeniy Stepanov2013-01-251-0/+77
| | | | llvm-svn: 173456
* Disable MSVC's warning about noreturn destructorsReid Kleckner2013-01-251-0/+1
| | | | | | | | | | | | This warning fires on: Operator::~Operator() { llvm_unreachable("should never destroy an Operator"); } That seems like a false positive. I don't see any good way to silence the warning here, so I'm disabling it. llvm-svn: 173455
* Fix MSVC 2012 warning about a 32-bit shift that should be 64-bitReid Kleckner2013-01-251-2/+2
| | | | llvm-svn: 173454
* [msan] A comment on ICmp handling logic.Evgeniy Stepanov2013-01-251-0/+3
| | | | llvm-svn: 173453
* [msan] Implement exact shadow propagation for relational ICmp.Evgeniy Stepanov2013-01-252-3/+101
| | | | | | | | Only for integers, pointers, and vectors of those. No floats. Instrumentation seems very heavy, and may need to be replaced with some approximation in the future. llvm-svn: 173452
* [Sanitizer] More fixes to scanf interceptor: stub support for %s, support ↵Alexey Samsonov2013-01-252-0/+28
| | | | | | for %[...] directive llvm-svn: 173451
* change all occurences of File to FileELFShankar Easwaran2013-01-251-6/+6
| | | | llvm-svn: 173449
* This patch aims to reduce compile time in LegalizeTypes by using SmallDenseMap,Preston Gurd2013-01-252-9/+9
| | | | | | | | | | | | | with an initial number of elements, instead of DenseMap, which has zero initial elements, in order to avoid the copying of elements when the size changes and to avoid allocating space every time LegalizeTypes is run. This patch will not affect the memory footprint, because DenseMap will increase the element size to 64 when the first element is added. Patch by Wan Xiaofei. llvm-svn: 173448
* Lexer.cpp: Fix a warning with ptrdiff_t on i686. [-Wsign-compare]NAKAMURA Takumi2013-01-251-1/+1
| | | | llvm-svn: 173447
* More cleanup of PPC register definitions.Hal Finkel2013-01-251-64/+8
| | | | | | | Uses the new !add TableGen operator to do more cleanup of the PPC register definitions. llvm-svn: 173446
* Add an addition operator to TableGenHal Finkel2013-01-257-3/+26
| | | | | | | This adds an !add(a, b) operator to tablegen; this will be used to cleanup the PPC register definitions. llvm-svn: 173445
* [sanitizer] improve the calloc overflow check (spotted by samsonov@)Kostya Serebryany2013-01-252-2/+12
| | | | llvm-svn: 173443
* [sanitizer] fix calloc overflow in asan/tsan/msanKostya Serebryany2013-01-259-0/+41
| | | | llvm-svn: 173441
* [Sanitizer] fix errors in scanf interceptors: add support for %c and fix ↵Alexey Samsonov2013-01-252-8/+24
| | | | | | cases like %5d llvm-svn: 173440
* clang/test/PCH/modified-header-error.c: Disable it again. It had been ↵NAKAMURA Takumi2013-01-251-0/+1
| | | | | | problematic on win32 for while. llvm-svn: 173439
OpenPOWER on IntegriCloud