- Jul 31, 2009
-
-
Chris Lattner authored
MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708
-
Chris Lattner authored
initialize method, which can be called when an MCContext is available. llvm-svn: 77687
-
- Jul 30, 2009
-
-
Devang Patel authored
Start using DebugInfoFinder. llvm-svn: 77621
-
- Jul 29, 2009
-
-
Bill Wendling authored
llvm-svn: 77505
-
Chris Lattner authored
No functionality change. llvm-svn: 77432
-
Bill Wendling authored
llvm-svn: 77412
-
Bill Wendling authored
correct. But what are you going to do? I'll fix this in the future. - Move another large loop into its own method. llvm-svn: 77408
-
Bill Wendling authored
Does any one else hate the name "const_reverse_iterator" as much as I do? llvm-svn: 77399
-
Bill Wendling authored
llvm-svn: 77394
-
Bill Wendling authored
llvm-svn: 77393
-
Bill Wendling authored
going to emit. llvm-svn: 77382
-
- Jul 28, 2009
-
-
Bill Wendling authored
llvm-svn: 77373
-
Chris Lattner authored
it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294
-
- Jul 27, 2009
-
-
Chris Lattner authored
MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252
-
Chris Lattner authored
instead and drive things based off of that. llvm-svn: 77184
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
Chris Lattner authored
just use a smallstring instead. llvm-svn: 77144
-
Chris Lattner authored
to its classification. llvm-svn: 77140
-
Chris Lattner authored
llvm-svn: 77138
-
Chris Lattner authored
llvm-svn: 77137
-
Chris Lattner authored
llvm-svn: 77134
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
- Jul 24, 2009
-
-
Chris Lattner authored
llvm-svn: 76970
-
Chris Lattner authored
eliminating isNamed. llvm-svn: 76946
-
- Jul 22, 2009
-
-
David Greene authored
Put comment printing under asm-verbose. llvm-svn: 76780
-
Chris Lattner authored
a new getSectionForMergableConstant hook. This removes one dependence of TAI on Type, and provides the hook with enough info to make the right decision based on whether the global has relocations etc. llvm-svn: 76705
-
- Jul 21, 2009
-
-
Chris Lattner authored
and call PrintGlobalVariable, allowing elimination and simplification of various targets. llvm-svn: 76604
-
Chris Lattner authored
LLVM IR concept. llvm-svn: 76590
-
- Jul 20, 2009
-
-
Bill Wendling authored
"LinkerPrivatePrefix". It seems to have been used in only one place before I started this "linker_private" business. I'm thinking that a rename is in order... llvm-svn: 76479
-
Chris Lattner authored
doesn't cause ".no_dead_strip" to be emitted on darwin. llvm-svn: 76399
-
- Jul 18, 2009
-
-
Chris Lattner authored
llvm-svn: 76246
-
- Jul 17, 2009
-
-
Chris Lattner authored
llvm-svn: 76237
-
Chris Lattner authored
emit the EHFrame label next to the section_eh_frame and eh_frame_common labels. llvm-svn: 76234
-
Chris Lattner authored
starting in getCurrentFunctionEHName. Among other problems, we would try to privative a "foo.eh" label, but end up emitting the label as _Lfoo.eh instead of L_foo.eh on darwin. This is really bad, and the linker has always tolerated these labels existing. For now, just emit them as _foo.eh. This patch also fixes problems with ".eh" labels on unnamed functions and eliminates two strangely defined TargetAsmInfo hooks. llvm-svn: 76231
-
Chris Lattner authored
llvm-svn: 76228
-
David Greene authored
Emit line numbers in asm comments when available. llvm-svn: 76117
-
- Jul 16, 2009
-
-
Devang Patel authored
This prefix is used by LLVM to inform the asm printer to not emit usual global symbol prefix before the symbol name. llvm-svn: 75875
-
- Jul 15, 2009
-
-
Chris Lattner authored
llvm-svn: 75742
-
- Jul 14, 2009
-
-
David Greene authored
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. llvm-svn: 75670
-
Chris Lattner authored
additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
-