- Mar 12, 2010
-
-
Chris Lattner authored
for a global instead of messing around with string buffers. llvm-svn: 98366
-
Chris Lattner authored
just make unnamed temp symbols instead of having to come up with its own names. llvm-svn: 98324
-
- Mar 11, 2010
-
-
Chris Lattner authored
where we used ot create an MCSymbol for ".". Now emit an assembler temporary label and reference it instead of "." textually. rdar://7739457 llvm-svn: 98292
-
Chris Lattner authored
an MCExpr and not an MCSymbol. Change it to take an MCStreamer, which is currently unused. No functionality change. llvm-svn: 98278
-
- Mar 10, 2010
-
-
Chris Lattner authored
semantic instead of syntactic. This completes MCization of darwin/x86[-64]! llvm-svn: 98145
-
Chris Lattner authored
llvm-svn: 98124
-
- Feb 16, 2010
-
-
Bill Wendling authored
llvm-svn: 96410
-
- Feb 15, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 96288
-
Anton Korobeynikov authored
llvm-svn: 96286
-
Anton Korobeynikov authored
Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there llvm-svn: 96285
-
- Jan 22, 2010
-
-
Benjamin Kramer authored
llvm-svn: 94189
-
- Jan 19, 2010
-
-
Chris Lattner authored
.zerofill directive. Streamerize its generation. llvm-svn: 93868
-
Chris Lattner authored
and everything else (weak). llvm-svn: 93846
-
Chris Lattner authored
GCC would put weak zero initialized mutable data in the .bss section, we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits' section. Fixing this will allow simplifications next up. llvm-svn: 93844
-
Chris Lattner authored
simplify and commonize some of the asmprinter logic for globals. This also avoids printing the MCSection for .zerofill, which broke the llvm-gcc build. llvm-svn: 93843
-
Chris Lattner authored
1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. llvm-svn: 93838
-
- Jan 17, 2010
-
-
Chris Lattner authored
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
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93628
-
Chris Lattner authored
llvm-svn: 93627
-
- Jan 13, 2010
-
-
Chris Lattner authored
obsolete Mangler interfaces. llvm-svn: 93356
-
Chris Lattner authored
SelectSectionForGlobal, unbreaking weak globals with no-name. llvm-svn: 93336
-
Chris Lattner authored
on linux (even though they are pointless, they shouldn't ICE). llvm-svn: 93308
-
Chris Lattner authored
llvm-svn: 93305
-
Chris Lattner authored
instead of returning it in an std::string. Based on this change: 1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef 2. Change a bunch of targets to call makeNameProper with a smallstring, making several of them *much* more efficient. 3. Rewrite Mangler::makeNameProper to not build names and then prepend prefixes, not use temporary std::strings, and to avoid other crimes. llvm-svn: 93298
-
- Jan 07, 2010
-
-
Eric Christopher authored
not-readonly segment on darwin. llvm-svn: 92933
-
- Nov 19, 2009
-
-
Bill Wendling authored
$ svn merge -c -89279 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r89279 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/Target/TargetLoweringObjectFile.cpp $ svn merge -c -89270 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r89270 into '.': G lib/CodeGen/AsmPrinter/DwarfException.cpp G lib/Target/TargetLoweringObjectFile.cpp llvm-svn: 89379
-
Bill Wendling authored
exception table than DataRel. llvm-svn: 89279
-
Bill Wendling authored
Place the EH table in the __TEXT section on MachO. It saves space. llvm-svn: 89270
-
- Nov 07, 2009
-
-
Chris Lattner authored
llvm-svn: 86367
-
- Nov 06, 2009
-
-
Daniel Dunbar authored
llvm-svn: 86251
-
- Sep 20, 2009
-
-
Bill Wendling authored
U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/CodeGen/AsmPrinter/DwarfException.h --- Reverse-merging r82274 into '.': U lib/Target/TargetLoweringObjectFile.cpp G lib/CodeGen/AsmPrinter/DwarfException.cpp These revisions were breaking everything. llvm-svn: 82396
-
Bill Wendling authored
llvm-svn: 82356
-
Bill Wendling authored
internal, they shouldn't use the indirect pointer stuff. In the case of throw_rethrow_test, it was marked as 'internal' and calculated its own offset to its contents. llvm-svn: 82354
-
Bill Wendling authored
llvm-svn: 82336
-
- Sep 18, 2009
-
-
Bill Wendling authored
into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's better to place it into the __TEXT section and use pc-rel indirect pointer encodings. Similar to the personality routine. llvm-svn: 82274
-
- Sep 17, 2009
-
-
Chris Lattner authored
currently unused. llvm-svn: 82157
-
- Sep 16, 2009
-
-
Chris Lattner authored
Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding fields from MAI: they aren't part of the asm syntax, they are related to the structure of the object file. To replace their functionality, add a new TLOF::getSymbolForDwarfGlobalReference method which asks targets to decide how to reference a global from EH in a pc-relative way. The default implementation just returns the symbol. The default darwin implementation references the symbol through an indirect $non_lazy_ptr stub. The bizarro x86-64 darwin specialization handles the weird "foo@GOTPCREL+4" hack. DwarfException.cpp now uses this to emit the reference to the symbol in the right way, and this also eliminates another horrible hack from DwarfException.cpp: - if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL")) - O << "-" << MAI->getPCSymbol(); llvm-svn: 81991
-
- Sep 09, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 81322
-
Anton Korobeynikov authored
llvm-svn: 81321
-