summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make printing of metadata more robust when function is not found (which is ↵Victor Hernandez2010-01-181-1/+1
| | | | | | the normal situation for non function-local metadata) llvm-svn: 93748
* Silence a control reaches end of function warning. Patch by EneaMike Stump2010-01-181-0/+1
| | | | | | Zaffanella. llvm-svn: 93743
* Mostly renaming some methods and updating comments toFariborz Jahanian2010-01-182-31/+40
| | | | | | | reflect what these methods are actually doing. One method template for future work. No change in functionality. llvm-svn: 93742
* Make CMake's clang++ installation respect DESTDIR, based on a patch byDouglas Gregor2010-01-181-1/+1
| | | | | | Ingmar Vanhassel. Fixes PR6046. llvm-svn: 93741
* Improve source-location information for builtin TypeLocs, from EneaDouglas Gregor2010-01-189-48/+333
| | | | | | Zaffanella (with a couple of my tweaks). llvm-svn: 93733
* Don't build/install clang++ in CLANG_IS_PRODUCTION build mode yet.Daniel Dunbar2010-01-181-0/+2
| | | | llvm-svn: 93732
* Fix -Asserts warning.Daniel Dunbar2010-01-181-2/+1
| | | | llvm-svn: 93731
* Fix race condition in creating objdir.Daniel Dunbar2010-01-181-4/+2
| | | | llvm-svn: 93730
* Don't try to build compiler-rt if it happens to be checked out into projects/Daniel Dunbar2010-01-181-0/+3
| | | | llvm-svn: 93729
* Encoding calling conventions in the type system, from Charles Davis!Douglas Gregor2010-01-186-42/+127
| | | | llvm-svn: 93726
* More VTT builder fixes. With these fixes we now correctly handle the very ↵Anders Carlsson2010-01-182-5/+62
| | | | | | complex VTT example from the Itanium ABI spec. llvm-svn: 93725
* Unnamed symbol index should be >= 1. This was lost during the mangler ↵Benjamin Kramer2010-01-181-1/+1
| | | | | | refactoring. Fixes PR6067. llvm-svn: 93724
* Fix refacto reported by Nicolas Geoffray.Benjamin Kramer2010-01-181-3/+1
| | | | llvm-svn: 93723
* Add support for computing size in elements for symbolic regions obtained fromZhongxing Xu2010-01-186-12/+47
| | | | | | malloc(). llvm-svn: 93722
* Update Apple-style build support for new MakefilesDaniel Dunbar2010-01-182-59/+69
| | | | llvm-svn: 93721
* Add support for "platform" configurations, which define a suite of compiler-rtDaniel Dunbar2010-01-1813-20/+358
| | | | | | | | | | | libraries to generate. - Each library may be built with different flags and for different architectures, and there is support for building Darwin style fat archives. - Uses an ambituous amount of make programming, but should be hidden to users and developers. llvm-svn: 93720
* Remove old build logic, this is going to be replaced by a more configurable ↵Daniel Dunbar2010-01-183-221/+0
| | | | | | mechanism shortly. llvm-svn: 93719
* Rename subdir 'Target' variable to 'Implementation' to be less overloaded.Daniel Dunbar2010-01-189-15/+14
| | | | llvm-svn: 93718
* Add 'SelectFunctionDir' function, to select appropriate function ↵Daniel Dunbar2010-01-184-15/+107
| | | | | | implementation based on a configuration and architecture. llvm-svn: 93717
* Add more make utility functions.Daniel Dunbar2010-01-182-2/+114
| | | | | | - With tests. :) llvm-svn: 93716
* Change subdir traversal to primarily cache information about what is ↵Daniel Dunbar2010-01-182-5/+42
| | | | | | | | | | | | available in subdirectories. - Rest of makefiles will move to using the information after it has been computed, instead of during subdir traversal. Also, add 'make info-functions' target, which prints information on all the functions available in compiler-rt. Also, add 'make help-devel' for listing help on targets intended for compiler-rt developers or direct users. llvm-svn: 93715
* Simplify subdirectory makefiles, and be more robust by checking that they ↵Daniel Dunbar2010-01-189-26/+85
| | | | | | define the appropriate variables. llvm-svn: 93714
* Add basic make {help,help-hidden} targets.Daniel Dunbar2010-01-181-0/+21
| | | | llvm-svn: 93713
* Rename DebugMake variable to DEBUGMAKE for consistency (variables that are ↵Daniel Dunbar2010-01-182-3/+6
| | | | | | designed to be overridden), and use VERBOSE=1 instead of VERBOSE!="" for controlling verbosity. llvm-svn: 93712
* Unbreak trampoline test.Daniel Dunbar2010-01-181-4/+9
| | | | llvm-svn: 93711
* Move some common code into BuildVTT.Anders Carlsson2010-01-181-6/+3
| | | | llvm-svn: 93710
* Fix a bunch of VTT layout bugs, add simple tests for VTT layout.Anders Carlsson2010-01-183-11/+50
| | | | llvm-svn: 93709
* Add test case for pr6069.Zhongxing Xu2010-01-181-0/+6
| | | | llvm-svn: 93708
* Update virt.cpp for changes to the LLVM asm printer (?) This test should ↵Anders Carlsson2010-01-181-2/+2
| | | | | | really be all LLVM IR... llvm-svn: 93707
* If the symbol has not been tracked, do not free it. This is possible when freeZhongxing Xu2010-01-181-1/+6
| | | | | | is called on a pointer that does not get its value directly from malloc. llvm-svn: 93706
* Emit spaces after commas in Neon register lists. This is more consistentBob Wilson2010-01-181-30/+33
| | | | | | | with the rest of the assembly output, is easier to read, and matches the expected output for gcc's Neon tests. llvm-svn: 93703
* switch x86 zerofill emission over to use MCStreamer.Chris Lattner2010-01-182-3/+14
| | | | llvm-svn: 93702
* Change CurrentFnSym to be a non-const pointer since asmprinter mutates it Chris Lattner2010-01-184-17/+17
| | | | | | | as it emits code. Switch .globl directives to use OutStreamer instead of doing it textually (in x86) llvm-svn: 93700
* remove the MAI argument to MCExpr::print and switch overthing to use << when ↵Chris Lattner2010-01-189-39/+28
| | | | | | printing them. llvm-svn: 93699
* unbreak x86 jump tables with my previous patch.Chris Lattner2010-01-181-1/+1
| | | | llvm-svn: 93698
* Minor VTT builder cleanup, no functionality change.Anders Carlsson2010-01-171-14/+12
| | | | llvm-svn: 93696
* now that MCSymbol::print doesn't use it's MAI argument, we can Chris Lattner2010-01-1721-867/+377
| | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
* rename NameNeedsEscaping -> NameNeedsQuoting, eliminate the checkChris Lattner2010-01-171-9/+4
| | | | | | | for first character which is a digit, mangler would have taken care of this already. llvm-svn: 93694
* Convert some of the dynamic opcode lookups into static ones.Owen Anderson2010-01-171-59/+40
| | | | llvm-svn: 93693
* stop the CBE from using Mangler::appendMangledName, which is a private ↵Chris Lattner2010-01-173-13/+17
| | | | | | function, it is mangling types, which don't matter how they are done. llvm-svn: 93692
* fix uninit member, thanks to Benjamin Kramer for identifying the bug.Chris Lattner2010-01-171-1/+1
| | | | llvm-svn: 93691
* Get MCSymbol out of the mangling business, and move all the logicChris Lattner2010-01-176-83/+115
| | | | | | | | | | | to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690
* Really fix this. I checked that on ARM I getRafael Espindola2010-01-171-2/+2
| | | | | | | | | PASS: LLVM::FrontendC/pr5406.c (3463 of 5030) and on X86 I get XFAIL: LLVM::FrontendC/pr5406.c (3465 of 5030 llvm-svn: 93689
* reduce this test and convert to filecheck, hopefully the linux buildbot Chris Lattner2010-01-171-15/+5
| | | | | | will tell me something more useful. llvm-svn: 93688
* factor this code better how that the string version of getNameWithPrefixChris Lattner2010-01-171-28/+8
| | | | | | takes a twine. llvm-svn: 93687
* now that mangler is in libtarget, it can use MCAsmInfo instead of clientsChris Lattner2010-01-177-59/+66
| | | | | | having to pass various fields from it in. Simplify. llvm-svn: 93686
* Don't create a (empty) output file, and don't warn about bitcode outputDan Gohman2010-01-171-13/+18
| | | | | | | | | | | to a console, when --analyze is used. Similarly, avoid creating an empty output file when --disable-output is used. Print a warning when the -o option appears with either --analyze or --disable-output, to indicate that the option is being ignored. llvm-svn: 93685
* Get the ctor vtable address points directly from the VTT builder.Anders Carlsson2010-01-171-2/+12
| | | | llvm-svn: 93681
* Switch some functions to take Twines, eliminate uses of StringExtras.h.Benjamin Kramer2010-01-175-41/+21
| | | | llvm-svn: 93680
* Fix comment.Owen Anderson2010-01-171-1/+1
| | | | llvm-svn: 93679
OpenPOWER on IntegriCloud