Rafael Espindola
05f9468ad4
Drop support for creating $stubs.
...
They are created by ld64 since OS X 10.5.
llvm-svn: 274130
2016-06-29 14:59:50 +00:00
Rafael Espindola
8b4b8109e9
Simplify handling of hidden stubs on PowerPC.
...
We now handle them just like non hidden ones. This was already the case
on x86 (r207518) and arm (r207517).
llvm-svn: 270205
2016-05-20 12:00:52 +00:00
Tim Northover
66f8d5ae59
ARM: put extern __thread stubs in a special section.
...
The linker needs to know that the symbols are thread-local to do its job
properly.
llvm-svn: 267473
2016-04-25 21:12:04 +00:00
NAKAMURA Takumi
af9dd4326b
Reformat 3 files in llvm/include/llvm/CodeGen/.
...
llvm-svn: 249287
2015-10-05 04:44:18 +00:00
Rafael Espindola
d00b8c898b
Clear the stub map in getSortedStubs.
...
This makes sure they are only output once (and frees a bit of memory).
llvm-svn: 234313
2015-04-07 12:59:28 +00:00
Craig Topper
0cda5b9a3c
Rename virtual table anchors from Anchor() to anchor() for consistency with the rest of the tree.
...
llvm-svn: 164666
2012-09-26 06:36:36 +00:00
Bill Wendling
df325dee9d
Add a bit along with the MCSymbols stored in the MachineModuleInfo maps that
...
indicates that an MCSymbol is external or not. (It's true if it's external.)
This will be used to specify the correct information to add to non-lazy
pointers. That will be explained further when this bit is used.
llvm-svn: 98199
2010-03-10 22:34:10 +00:00
Anton Korobeynikov
dccd240998
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
2010-02-15 22:35:59 +00:00
Chris Lattner
837d242070
make MachineModuleInfoMachO hold non-const MCSymbol*'s instead
...
of const ones. non-const ones aren't very useful, because you can't
even, say, emit them.
llvm-svn: 95205
2010-02-03 06:18:30 +00:00
Chris Lattner
f91260f6cf
move FnStubs/GVSTubs/HiddenGVStub handling out of the X86 asmprinter
...
and use MachineModuleInfoMachO instead.
llvm-svn: 82022
2009-09-16 06:25:03 +00:00
Chris Lattner
4452afa6d8
add a new MachineModuleInfoMachO class, which is the per-module
...
stuff common across all macho targets.
llvm-svn: 82018
2009-09-16 06:03:48 +00:00