1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/CodeGen/AsmPrinter
Fangrui Song 0180f4a1d1 [AArch64][ELF] Prefer to lower MC_GlobalAddress operands to .Lfoo$local
Similar to X86 D73230 & 46788a21f9152be3950e57dc526454655682bdd4

With this change, we can set dso_local in clang's -fpic -fno-semantic-interposition mode,
for default visibility external linkage non-ifunc-non-COMDAT definitions.

For such dso_local definitions, variable access/taking the address of a
function/calling a function will go through a local alias to avoid GOT/PLT.

Note: the 'S' inline assembly constraint refers to an absolute symbolic address
or a label reference (D46745).

Differential Revision: https://reviews.llvm.org/D101872
2021-05-07 09:44:26 -07:00
..
AccelTable.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.h
AIXException.cpp [XCOFF] Handle the case when personality routine is an alias 2021-04-29 22:03:30 +00:00
ARMException.cpp [NFC] Refactor how CFI section types are represented in AsmPrinter 2021-04-28 09:04:04 +05:30
AsmPrinter.cpp [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling 2021-05-06 04:53:45 +05:30
AsmPrinterDwarf.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AsmPrinterInlineAsm.cpp [AArch64][ELF] Prefer to lower MC_GlobalAddress operands to .Lfoo$local 2021-05-07 09:44:26 -07:00
ByteStreamer.h
CMakeLists.txt
CodeViewDebug.cpp [CodeView] Add CodeView support for PGO debug information 2021-04-21 15:29:19 -07:00
CodeViewDebug.h
DbgEntityHistoryCalculator.cpp Reapply "[DebugInfo] Add DWARF emission for DBG_VALUE_LIST" 2021-03-10 15:59:24 +00:00
DebugHandlerBase.cpp [Debug-Info] make fortran CHARACTER(1) type as valid unsigned type 2021-04-11 23:17:01 -04:00
DebugLocEntry.h Revert "Re-reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands"" 2021-04-30 20:23:21 -07:00
DebugLocStream.cpp
DebugLocStream.h
DIE.cpp DebugInfo: Add a DWARF FORM extension for addrx+offset references to reduce relocations 2021-01-28 10:20:02 -08:00
DIEHash.cpp DebugInfo: Add a DWARF FORM extension for addrx+offset references to reduce relocations 2021-01-28 10:20:02 -08:00
DIEHash.h
DIEHashAttributes.def
DwarfCFIException.cpp [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling 2021-05-06 04:53:45 +05:30
DwarfCompileUnit.cpp [Debug-Info][NFC] add a wrapper for Die.addValue 2021-05-07 07:24:09 +00:00
DwarfCompileUnit.h
DwarfDebug.cpp [DebugInfo][AIX] Set target debugger-tune default to dbx 2021-04-26 01:38:44 +00:00
DwarfDebug.h [DebuggerTuning] Move a comment to a more useful place. 2021-05-03 11:08:04 -07:00
DwarfException.h [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class 2021-04-24 06:35:39 +05:30
DwarfExpression.cpp Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08:00
DwarfExpression.h Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08:00
DwarfFile.cpp
DwarfFile.h
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp [Debug-Info][NFC] add a wrapper for Die.addValue 2021-05-07 07:24:09 +00:00
DwarfUnit.h [Debug-Info][NFC] add a wrapper for Die.addValue 2021-05-07 07:24:09 +00:00
EHStreamer.cpp [AsmPrinter] Use range-based for loops (NFC) 2021-02-10 20:01:22 -08:00
EHStreamer.h
ErlangGCPrinter.cpp [AsmPrinter] Use range-based for loops (NFC) 2021-02-10 20:01:22 -08:00
OcamlGCPrinter.cpp
PseudoProbePrinter.cpp
PseudoProbePrinter.h
WasmException.cpp [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
WasmException.h
WinCFGuard.cpp
WinCFGuard.h
WinException.cpp Add ehcont section support 2021-02-15 14:27:12 +08:00
WinException.h Add ehcont section support 2021-02-15 14:27:12 +08:00