1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/include/llvm/Target
Francis Visoiu Mistrih e5d8da9da8 [MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is local
Local symbols in the indirect symbol table contain the value
`INDIRECT_SYMBOL_LOCAL` and the corresponding __pointers entry must
contain the address of the target.

In r349060, I added support for local symbols in the indirect symbol
table, which was checking if the symbol `isDefined` && `!isExternal` to
determine if the symbol is local or not.

It turns out that `isDefined` will return false if the user of the
symbol comes before its definition, and we'll again generate .long 0
which will be the symbol at the adress 0x0.

Instead of doing that, use GlobalValue::hasLocalLinkage() to check if
the symbol is local.

Differential Revision: https://reviews.llvm.org/D66563

llvm-svn: 369671
2019-08-22 16:59:00 +00:00
..
GlobalISel GlobalISel: Add G_ATOMICRMW_{FADD|FSUB} 2019-07-30 23:56:30 +00:00
CodeGenCWrappers.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GenericOpcodes.td GlobalISel: Change representation of shuffle masks 2019-08-13 15:34:38 +00:00
Target.td [globalisel] Add G_SEXT_INREG 2019-08-09 21:11:20 +00:00
TargetCallingConv.td DAG: propagate whether an arg is a pointer for CallingConv decisions. 2019-04-15 12:03:54 +00:00
TargetInstrPredicate.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetIntrinsicInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetItinerary.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetLoweringObjectFile.h [MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is local 2019-08-22 16:59:00 +00:00
TargetMachine.h [TargetMachine] error message unsupported code model 2019-05-22 10:40:26 +00:00
TargetOptions.h [TargetOption] Add option to ebanble the debug entry values 2019-06-26 08:35:43 +00:00
TargetPfmCounters.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TargetSchedule.td Fix typos: (re)?sor?uce -> (re)?source 2019-04-26 05:56:23 +00:00
TargetSelectionDAG.td [ARM] Add support for MVE vaddv 2019-08-19 09:38:28 +00:00