summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support EFI target triple, from Carl Norum!Douglas Gregor2011-02-011-1/+4
| | | | llvm-svn: 124660
* Make SwitchInst::removeCase() more efficient.Jay Foad2011-02-012-9/+6
| | | | llvm-svn: 124659
* A missed endian fix for the linux register context for x86_64.Greg Clayton2011-02-011-1/+1
| | | | llvm-svn: 124658
* Add a m_Undef pattern for convenience. This is so that code that usesDuncan Sands2011-02-012-16/+26
| | | | | | | pattern matching can also pattern match undef, creating a more uniform style. llvm-svn: 124657
* Add a m_SignBit pattern for convenience.Duncan Sands2011-02-012-3/+16
| | | | llvm-svn: 124656
* Have m_One also match constant vectors for which every element is 1.Duncan Sands2011-02-015-11/+16
| | | | llvm-svn: 124655
* Make that test case actually test something, and add another test.John McCall2011-02-011-2/+12
| | | | llvm-svn: 124654
* The code trying to assign a typedef to an anonymous tag declaration wasJohn McCall2011-02-013-15/+57
| | | | | | | | extremely rambunctious, both on parsing and on template instantiation. Calm it down, fixing an internal consistency assert on anonymous enum instantiation manglings. llvm-svn: 124653
* Test commit - fix a double 'should' in a comment.Carl Norum2011-02-011-1/+1
| | | | llvm-svn: 124652
* Revert 124633. The linker has been told how to merge available_externally.Rafael Espindola2011-02-012-2/+3
| | | | llvm-svn: 124651
* Correctly merge available_externally and regular definitions when they haveRafael Espindola2011-02-013-2/+13
| | | | | | different visibilities. llvm-svn: 124650
* Added a cleanup helper object to make sure the directory that was opened ↵Greg Clayton2011-02-011-11/+9
| | | | | | with "DIR *opendir(const char *)" is closed if it is valid with a call to "int closedir (DIR *)". llvm-svn: 124649
* Added a cleanup helper object to make sure the directory that was opened ↵Greg Clayton2011-02-011-3/+4
| | | | | | with "DIR *opendir(const char *)" is closed if it is valid with a call to "int closedir (DIR *)". llvm-svn: 124648
* Correct units in doxygen comment for NonVirtualSize.Ken Dyck2011-02-011-1/+1
| | | | llvm-svn: 124647
* Convert RecordLayout::NonVirtualSize from bit units to CharUnits.Ken Dyck2011-02-016-17/+23
| | | | llvm-svn: 124646
* Fix bogus assert condition noticed by Csaba Raduly.Evan Cheng2011-02-011-2/+2
| | | | llvm-svn: 124645
* Added EmulateIntruction plug-in manager support.Greg Clayton2011-02-014-0/+141
| | | | llvm-svn: 124644
* Endian patch from Kirk Beitz that allows better cross platform building.Greg Clayton2011-02-0141-191/+169
| | | | llvm-svn: 124643
* Add TestVirtual.py to go with test/cpp/virtual/main.cpp file, which testsJohnny Chen2011-02-013-12/+104
| | | | | | C++ virtual function and virtual inheritance. llvm-svn: 124642
* Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher2011-02-012-85/+88
| | | | llvm-svn: 124641
* Fix test for non-darwin targets.Evan Cheng2011-02-011-2/+2
| | | | llvm-svn: 124640
* Patches to build EFI with Clang/LLVM. By Carl Norum.Evan Cheng2011-02-018-17/+41
| | | | llvm-svn: 124639
* Patch from Kirk Beitz that removes an unneeded include of "sys/errno.h".Greg Clayton2011-02-011-1/+1
| | | | llvm-svn: 124638
* When initializing struct members, the important thing is that the ↵Argyrios Kyrtzidis2011-02-012-2/+14
| | | | | | | | | | "initializing" expression is compatible, not having the same type. Fix rdar://8183908 in which compatible vector types weren't initialized properly leading to a crash. llvm-svn: 124637
* Cleaned up the EmulateInstructionARM to have the evaluate instructionGreg Clayton2011-02-012-207/+294
| | | | | | callbacks use member functions. llvm-svn: 124636
* Remove stale test that has never worked, afaik.Devang Patel2011-02-011-60/+0
| | | | llvm-svn: 124635
* Don't tell the linker about available_externally definitions. If we do, it willRafael Espindola2011-02-011-0/+4
| | | | | | complain about duplicated definitions. llvm-svn: 124634
* Set visibility for available_externally globals. This is important for two ↵Rafael Espindola2011-02-012-3/+2
| | | | | | | | | | reasons: * llvm-link would complains about mismatched visibility * If we produce a relocation with an available_externally, it is good to know that it is hidden. llvm-svn: 124633
* Perform the bad-address-space conversions check as part of John McCall2011-02-016-35/+54
| | | | | | CheckPointerTypesForAssignment. llvm-svn: 124632
* Made the EmulateInstruction class into a plug-in interface and moved theGreg Clayton2011-02-016-23/+57
| | | | | | source files around into the places they need to go. llvm-svn: 124631
* Improve the diagnostic for -Wcustom-atomic-properties. Suggestion by Fariborz!Argyrios Kyrtzidis2011-01-313-5/+15
| | | | llvm-svn: 124620
* Added a virtual C++ test case that catches some interesting casesGreg Clayton2011-01-311-0/+111
| | | | | | that you run into with inheritance. llvm-svn: 124619
* Make Check*PointerTypesForAssignment private and tell them that they'reJohn McCall2011-01-312-85/+63
| | | | | | working on canonical types already. llvm-svn: 124618
* Add emulate_pop (loads multiple registers from the stack) entries to both theJohnny Chen2011-01-312-4/+139
| | | | | | | | g_arm_opcodes and g_thumb_opcodes tables. Plus a minor comment fix for EmulateInstruction.h. llvm-svn: 124617
* Harden Lexer::GetBeginningOfToken() against bogus source locations andDouglas Gregor2011-01-312-2/+17
| | | | | | the disappearance/alteration of files. llvm-svn: 124616
* Slightly reorganize CheckAssignmentConstraints and remove some redundantJohn McCall2011-01-311-65/+87
| | | | | | logic. llvm-svn: 124615
* Teach Diagnostic::setClient() to free the existing, ownedDouglas Gregor2011-01-313-4/+10
| | | | | | client. Fixes a libclang leak. llvm-svn: 124614
* libclang: Don't allow RemoveFileOnSignal to be called via libclang, badness canDaniel Dunbar2011-01-311-1/+4
| | | | | | ensue. llvm-svn: 124613
* Frontend: Add an explicit RemoveFileOnSignal flag argument, to control theDaniel Dunbar2011-01-312-5/+13
| | | | | | automatic behavior (which is undesirable in a multithreaded context). llvm-svn: 124612
* Keep track of incoming argument's location while emitting LiveIns.Devang Patel2011-01-3113-32/+144
| | | | llvm-svn: 124611
* While printing "interesting" breakpoint locations for debug info quality ↵Devang Patel2011-01-311-27/+12
| | | | | | test harness, focus only on entry block's terminator for now. llvm-svn: 124610
* Add -Wcustom-atomic-properties which warns if an atomic-by-default property ↵Argyrios Kyrtzidis2011-01-314-4/+47
| | | | | | | | | | | has custom getter or setter. The rationale is that it is highly likely that the user's getter/setter isn't atomically implemented. Off by default. Addresses rdar://8782645. -Wcustom-atomic-properties and -Wimplicit-atomic-properties are under the -Watomic-properties group. llvm-svn: 124609
* Enumerate .code16/32/64 instead of checking .code prefix. ThisRoman Divacky2011-01-311-1/+1
| | | | | | unbreaks some ARM tests. llvm-svn: 124608
* Tidy up. Devang Patel2011-01-311-35/+132
| | | | llvm-svn: 124605
* Focus on arguments for now.Devang Patel2011-01-311-2/+2
| | | | llvm-svn: 124604
* Error on all .code* directives instead of just .code16 as theyRoman Divacky2011-01-311-2/+2
| | | | | | all lead to a silent miscompilation of code. llvm-svn: 124603
* Document that set-xcode-analyzer should typically be run using sudo.Ted Kremenek2011-01-311-3/+11
| | | | llvm-svn: 124602
* Fix vector sign extend to put the source and destination types in theDavid Greene2011-01-311-3/+3
| | | | | | correct places. llvm-svn: 124601
* Test warning for pending breakpoints.Caroline Tice2011-01-311-0/+3
| | | | llvm-svn: 124600
* add a note, progress unblocked by PR8575 being fixed.Chris Lattner2011-01-311-0/+48
| | | | llvm-svn: 124599
OpenPOWER on IntegriCloud