1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Target/Lanai
Fangrui Song ae37969223 [X86] Reland D71360 Clean up UseInitArray initialization for X86ELFTargetObjectFile
-fuse-init-array is now the CC1 default but TargetLoweringObjectFileELF::UseInitArray still defaults to false.
The following two unknown OS target triples continue using .ctors/.dtors because InitializeELF is not called.

clang -target i386 -c a.c
clang -target x86_64 -c a.c

This cleanup fixes this as a bonus.

X86SpeculativeLoadHardeningPass::tracePredStateThroughCall can call
MCContext::createTempSymbol before TargetLoweringObjectFileELF::Initialize().
We need to call TargetLoweringObjectFileELF::Initialize() ealier.

test/CodeGen/X86/speculative-load-hardening-indirect.ll

Differential Revision: https://reviews.llvm.org/D71360
2020-03-20 21:57:34 -07:00
..
AsmParser [AsmPrinter][MCStreamer] De-capitalize EmitInstruction and EmitCFI* 2020-02-13 22:08:55 -08:00
Disassembler CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
MCTargetDesc Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
TargetInfo CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
CMakeLists.txt [Lanai] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:25:58 +00:00
Lanai.h Include what you use in Lanai.h 2019-06-03 17:02:15 +00:00
Lanai.td
LanaiAluCode.h
LanaiAsmPrinter.cpp [AsmPrinter][MCStreamer] De-capitalize EmitInstruction and EmitCFI* 2020-02-13 22:08:55 -08:00
LanaiCallingConv.td
LanaiCondCode.h
LanaiDelaySlotFiller.cpp [NFC] Test commit, fix some comment spelling. 2019-08-20 05:21:27 +00:00
LanaiFrameLowering.cpp [Alignment][NFC] Deprecate getMaxAlignment 2020-03-18 14:48:45 +01:00
LanaiFrameLowering.h [Alignment][NFC] Use Align for TargetFrameLowering/Subtarget 2019-10-17 07:49:39 +00:00
LanaiInstrFormats.td
LanaiInstrInfo.cpp Add OffsetIsScalable to getMemOperandWithOffset 2020-02-18 15:53:29 +00:00
LanaiInstrInfo.h Add OffsetIsScalable to getMemOperandWithOffset 2020-02-18 15:53:29 +00:00
LanaiInstrInfo.td
LanaiISelDAGToDAG.cpp Include what you use in LanaiISelDAGToDAG.cpp 2019-06-03 17:01:57 +00:00
LanaiISelLowering.cpp [Alignment][NFC] Use Align for getMemcpy/Memmove/Memset 2020-02-03 17:13:19 +01:00
LanaiISelLowering.h CodeGen: Use LLT instead of EVT in getRegisterByName 2020-01-09 17:37:52 -05:00
LanaiMachineFunctionInfo.cpp
LanaiMachineFunctionInfo.h
LanaiMCInstLower.cpp
LanaiMCInstLower.h
LanaiMemAluCombiner.cpp Include what you use in LanaiMemAluCombiner.cpp 2019-06-03 17:02:02 +00:00
LanaiRegisterInfo.cpp [TargetRegisterInfo] Default trackLivenessAfterRegAlloc() to true 2020-01-19 14:20:37 -08:00
LanaiRegisterInfo.h [TargetRegisterInfo] Default trackLivenessAfterRegAlloc() to true 2020-01-19 14:20:37 -08:00
LanaiRegisterInfo.td
LanaiSchedule.td
LanaiSelectionDAGInfo.cpp
LanaiSelectionDAGInfo.h
LanaiSubtarget.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
LanaiSubtarget.h
LanaiTargetMachine.cpp CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
LanaiTargetMachine.h
LanaiTargetObjectFile.cpp [X86] Reland D71360 Clean up UseInitArray initialization for X86ELFTargetObjectFile 2020-03-20 21:57:34 -07:00
LanaiTargetObjectFile.h
LanaiTargetTransformInfo.h Rename TTI::getIntImmCost for instructions and intrinsics 2019-12-11 18:00:20 -08:00
LLVMBuild.txt [Lanai] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:25:58 +00:00