- Nov 19, 2009
-
-
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
-
- Aug 27, 2009
-
-
Daniel Dunbar authored
llvm-svn: 80176
-
- Aug 18, 2009
-
-
Chris Lattner authored
llvm-svn: 79346
-
Anton Korobeynikov authored
Patch by Dmitry Gorbachev! llvm-svn: 79334
-
- Aug 17, 2009
-
-
Benjamin Kramer authored
Clear the uniquing table when initializing TLOF to avoid a crash when the TLOF is reinitialized with a different MCContext. llvm-svn: 79253
-
Richard Osborne authored
if not supported by the ELF subtarget. llvm-svn: 79249
-
- Aug 15, 2009
-
-
Chris Lattner authored
is why they are datarel). This should fix PR4724, and is fallout from r78890. llvm-svn: 79111
-
Chris Lattner authored
them to null out the default section pointers. llvm-svn: 79078
-
- Aug 14, 2009
-
-
Dan Gohman authored
accidentally match unrelated things. llvm-svn: 78966
-
Bruno Cardoso Lopes authored
must be emitted for PowerPC-Linux '.bss' section llvm-svn: 78958
-
- Aug 13, 2009
-
-
Bruno Cardoso Lopes authored
syntactically as a string, very similiar to what Chris did with MachO. The parsing support and validation is not introduced yet. llvm-svn: 78890
-
Chris Lattner authored
MCContext no longer maintains a string -> section map. llvm-svn: 78874
-
Chris Lattner authored
them, so it doesn't have to explicitly free them. llvm-svn: 78870
-
Chris Lattner authored
int x __attribute__((section("_foo, _bar"))) = 4; int y __attribute__((section("_foo, _bar, 4byte_literals"))) = 1; llvm-svn: 78867
-
Chris Lattner authored
llvm-svn: 78866
-
Chris Lattner authored
llvm-svn: 78860
-
- Aug 11, 2009
-
-
Dan Gohman authored
llvm-svn: 78677
-
- Aug 10, 2009
-
-
Chris Lattner authored
llvm-svn: 78576
-
Chris Lattner authored
instead of syntactically as a string. This means that it keeps track of the segment, section, flags, etc directly and asmprints them in the right format. This also includes parsing and validation support for llvm-mc and "attribute(section)", so we should now start getting errors about invalid section attributes from the compiler instead of the assembler on darwin. Still todo: 1) Uniquing of darwin mcsections 2) Move all the Darwin stuff out to MCSectionMachO.[cpp|h] 3) there are a few FIXMEs, for example what is the syntax to get the S_GB_ZEROFILL segment type? llvm-svn: 78547
-
- Aug 09, 2009
-
-
Chris Lattner authored
2. Move section switch printing to MCSection virtual method which takes a TAI. This eliminates textual formatting stuff from TLOF. 3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and TLOFELF::AtIsCommentChar. llvm-svn: 78510
-
- Aug 08, 2009
-
-
Chris Lattner authored
MCSection instances. llvm-svn: 78500
-
Chris Lattner authored
A TAI hook is appropriate in this case because this is just an asm syntax issue, not a semantic difference. TLOF should model the semantics of the section. llvm-svn: 78498
-
Chris Lattner authored
give the impls an object-file-specific name. In the future they can take different arguments etc. llvm-svn: 78495
-
Chris Lattner authored
now that they create *all* the sections. llvm-svn: 78494
-
- Aug 06, 2009
-
-
Chris Lattner authored
creation activity into the target-specific subclasses of TLOF. Before this, globals with explicit sections could be created by the base class. 1. make getOrCreateSection protected, add a new getExplicitSectionGlobal pure virtual method to assign sections to globals with a specified section. 2. eliminate getSpecialCasedSectionGlobals, which is now PIC specific. 3. eliminate the getKindForNamedSection virtual method, which is now just a static method for ELF. 4. Add implementions of getExplicitSectionGlobal for ELF/PECOFF/Darwin/PIC16. They are now all detangled and understandable, woo! :) llvm-svn: 78319
-
- Aug 05, 2009
-
-
Chris Lattner authored
getKindForGlobal. llvm-svn: 78156
-
- Aug 04, 2009
-
-
Chris Lattner authored
__TEXT,__ustring section on darwin. llvm-svn: 78068
-
Chris Lattner authored
it is just being used as a prefix, so forward substitute it directly. llvm-svn: 78067
-