| #
a44d8f80 |
| 16-Jan-2010 |
Chris Lattner <[email protected]> |
fix build failure.
llvm-svn: 93628
|
| #
32c95121 |
| 16-Jan-2010 |
Chris Lattner <[email protected]> |
remove a couple of actively incorrect uses of getMangledName.
llvm-svn: 93627
|
| #
ccbeed2a |
| 13-Jan-2010 |
Chris Lattner <[email protected]> |
fix ELF section mangling stuff for weak symbols to not use obsolete Mangler interfaces.
llvm-svn: 93356
|
| #
643b817d |
| 13-Jan-2010 |
Chris Lattner <[email protected]> |
Use the GV version of getNameWithPrefix in TargetLoweringObjectFileCOFF:: SelectSectionForGlobal, unbreaking weak globals with no-name.
llvm-svn: 93336
|
| #
b0dc959e |
| 13-Jan-2010 |
Chris Lattner <[email protected]> |
add a fixme, ELF MCSection isn't quite right and weak unnamed globals are broken on linux (even though they are pointless, they shouldn't ICE).
llvm-svn: 93308
|
| #
f0a401fc |
| 13-Jan-2010 |
Chris Lattner <[email protected]> |
eliminate some uses of Mangler::makeNameProper.
llvm-svn: 93305
|
| #
209aecad |
| 13-Jan-2010 |
Chris Lattner <[email protected]> |
change Mangler::makeNameProper to return its result in a SmallVector instead of returning it in an std::string. Based on this change:
1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take
change Mangler::makeNameProper to return its result in a SmallVector 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
show more ...
|
| #
36ef435e |
| 07-Jan-2010 |
Eric Christopher <[email protected]> |
We need to put any kind of data with a relocation into a not-readonly segment on darwin.
llvm-svn: 92933
|
| #
31c74dbb |
| 19-Nov-2009 |
Bill Wendling <[email protected]> |
Reverting the EH table patches.
$ 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
Reverting the EH table patches.
$ 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
show more ...
|
| #
4b384b02 |
| 19-Nov-2009 |
Bill Wendling <[email protected]> |
The "ReadOnlyWithRel" enum seems to apply more to what Darwin does with the EH exception table than DataRel.
llvm-svn: 89279
|
| #
07e6e2c6 |
| 18-Nov-2009 |
Bill Wendling <[email protected]> |
Attempt #2:
Place the EH table in the __TEXT section on MachO. It saves space.
llvm-svn: 89270
|
| #
d82510e1 |
| 07-Nov-2009 |
Chris Lattner <[email protected]> |
add some missing #includes
llvm-svn: 86367
|
| #
ad36e8ac |
| 06-Nov-2009 |
Daniel Dunbar <[email protected]> |
Pass StringRef by value.
llvm-svn: 86251
|
|
Revision tags: llvmorg-2.6.0 |
|
| #
692a3ea0 |
| 20-Sep-2009 |
Bill Wendling <[email protected]> |
--- Reverse-merging r82282 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/CodeGen/AsmPrinter/DwarfException.h
--- Reverse-merging r82274 into '.': U lib/Target/TargetLoweringOb
--- Reverse-merging r82282 into '.': 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
show more ...
|
| #
f878d707 |
| 20-Sep-2009 |
Bill Wendling <[email protected]> |
Still one more thing wrong here...
llvm-svn: 82356
|
| #
0f899601 |
| 20-Sep-2009 |
Bill Wendling <[email protected]> |
Here's fun! It turns out that these filter functions can be internal. If they're internal, they shouldn't use the indirect pointer stuff. In the case of throw_rethrow_test, it was marked as 'internal
Here's fun! It turns out that these filter functions can be internal. If they're 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
show more ...
|
| #
85689b20 |
| 19-Sep-2009 |
Bill Wendling <[email protected]> |
Revert r82274. It's causing failures in the CINT2006 benchmarks.
llvm-svn: 82336
|
| #
43f2cd77 |
| 18-Sep-2009 |
Bill Wendling <[email protected]> |
It's inefficient to have place the exception tables (which contain the LSDA) into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's bet
It's inefficient to have place the exception tables (which contain the LSDA) 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
show more ...
|
| #
a6ebba27 |
| 17-Sep-2009 |
Chris Lattner <[email protected]> |
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference, currently unused.
llvm-svn: 82157
|
| #
b866602f |
| 16-Sep-2009 |
Chris Lattner <[email protected]> |
Big change #1 for personality function references: Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding fields from MAI: they aren't part of the asm syntax, they are related to the structur
Big change #1 for personality function references: 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
show more ...
|
| #
bfd22dd7 |
| 09-Sep-2009 |
Anton Korobeynikov <[email protected]> |
Provide proper section flags for various BSS flavours
llvm-svn: 81322
|
| #
1df58860 |
| 09-Sep-2009 |
Anton Korobeynikov <[email protected]> |
Whitespace cleanup
llvm-svn: 81321
|
| #
b039caa1 |
| 26-Aug-2009 |
Daniel Dunbar <[email protected]> |
Simplify.
llvm-svn: 80176
|
| #
03ded465 |
| 18-Aug-2009 |
Chris Lattner <[email protected]> |
fix COFF targets (mingw/cygwin) to provide ehframe and LSDA sections
llvm-svn: 79346
|
| #
e4d2e846 |
| 18-Aug-2009 |
Anton Korobeynikov <[email protected]> |
Text sections should have 'exec' flag set. This seems to unbreak libstdc++ on linux. Patch by Dmitry Gorbachev!
llvm-svn: 79334
|