llvm-project/llvm/lib/CodeGen/AsmPrinter
Fangrui Song 6a2850f3fc [AArch64][ELF] Prefer to lower MC_GlobalAddress operands to .Lfoo$local
Similar to X86 D73230 & 46788a21f9

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
..
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
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 Recommit "PR44685: DebugInfo: Handle address-use-invalid type units referencing non-type units" 2020-08-18 13:43:28 -07:00
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 [AsmPrinter] Rename ByteStreamer::EmitInt8 to emitInt8 2020-11-06 20:02:56 -08:00
CMakeLists.txt [CSSPGO] Pseudo probe encoding and emission. 2020-12-10 17:29:28 -08:00
CodeViewDebug.cpp [CodeView] Add CodeView support for PGO debug information 2021-04-21 15:29:19 -07:00
CodeViewDebug.h [CodeView] Remove unused declaration collectInlineSiteChildren (NFC) 2020-11-30 22:28:26 -08:00
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 DebugInfo: Hash DIE referevences (DW_OP_convert) when computing Split DWARF signatures 2020-10-22 20:09:33 -07:00
DIEHashAttributes.def
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
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 [DebugInfo] Fix emitting DWARF64 compilation units (5/19). 2020-09-15 11:30:30 +07:00
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 - remove unnecessary includes. NFCI. 2020-09-17 12:12:18 +01:00
DwarfFile.h DwarfFile.h - remove unnecessary includes. NFCI. 2020-09-17 12:12:18 +01:00
DwarfStringPool.cpp DwarfStringPool.cpp - remove unnecessary StringRef include. NFCI. 2020-09-17 12:18:27 +01:00
DwarfStringPool.h [DebugInfo] Make the offset of string pool entries 64-bit (18/19). 2020-09-15 12:23:32 +07:00
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 Exception support for basic block sections 2020-09-30 11:05:55 -07:00
ErlangGCPrinter.cpp [AsmPrinter] Use range-based for loops (NFC) 2021-02-10 20:01:22 -08:00
OcamlGCPrinter.cpp Replace `T(x)` with `reinterpret_cast<T>(x)` everywhere it means reinterpret_cast. NFC. 2020-12-22 19:54:29 -05:00
PseudoProbePrinter.cpp [CSSPGO] Pseudo probe encoding and emission. 2020-12-10 17:29:28 -08:00
PseudoProbePrinter.h [CSSPGO] Pseudo probe encoding and emission. 2020-12-10 17:29:28 -08:00
WasmException.cpp [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
WasmException.h Exception support for basic block sections 2020-09-30 11:05:55 -07:00
WinCFGuard.cpp [CodeGen] Use llvm::append_range (NFC) 2020-12-28 19:55:16 -08:00
WinCFGuard.h [CFGuard] Add address-taken IAT tables and delay-load support 2020-11-17 18:24:45 -08:00
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