diff options
author | Daniel Jasper <djasper@google.com> | 2014-02-19 12:26:01 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2014-02-19 12:26:01 +0000 |
commit | 9a925861144fba3497f4b6142cdaa70807e3f1e3 (patch) | |
tree | d073a52aa68e9578cb882689bffb4c58d3204eab /include/llvm/CodeGen/TargetLoweringObjectFileImpl.h | |
parent | 1f55e40aa5f8a7ee10d994f46ac0a2bd1d08ef21 (diff) | |
download | llvm-9a925861144fba3497f4b6142cdaa70807e3f1e3.tar.gz llvm-9a925861144fba3497f4b6142cdaa70807e3f1e3.tar.bz2 llvm-9a925861144fba3497f4b6142cdaa70807e3f1e3.tar.xz |
Revert r201622 and r201608.
This causes the LLVMgold plugin to segfault. More information on the
replies to r201608.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/TargetLoweringObjectFileImpl.h')
-rw-r--r-- | include/llvm/CodeGen/TargetLoweringObjectFileImpl.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h index d329ddd9a7..a2179fb490 100644 --- a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h +++ b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h @@ -57,15 +57,14 @@ public: /// Return an MCExpr to use for a reference to the specified type info global /// variable from exception handling information. - const MCExpr * - getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, - Mangler &Mang, const TargetMachine &TM, - MachineModuleInfo *MMI, MCStreamer &Streamer) const + const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, + unsigned Encoding, Mangler &Mang, + MachineModuleInfo *MMI, + MCStreamer &Streamer) const LLVM_OVERRIDE; // The symbol that gets passed to .cfi_personality. MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang, - const TargetMachine &TM, MachineModuleInfo *MMI) const LLVM_OVERRIDE; void InitializeELF(bool UseInitArray_); @@ -91,9 +90,6 @@ public: Mangler &Mang, const TargetMachine &TM) const LLVM_OVERRIDE; - bool isSectionAtomizableBySymbols(const MCSection &Section) const - LLVM_OVERRIDE; - const MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const @@ -109,19 +105,18 @@ public: /// This hook allows targets to selectively decide not to emit the /// UsedDirective for some symbols in llvm.used. /// FIXME: REMOVE this (rdar://7071300) - bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler &Mang, - TargetMachine &TM) const LLVM_OVERRIDE; + bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler &Mang) const + LLVM_OVERRIDE; /// The mach-o version of this method defaults to returning a stub reference. - const MCExpr * - getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, - Mangler &Mang, const TargetMachine &TM, - MachineModuleInfo *MMI, MCStreamer &Streamer) const + const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, + unsigned Encoding, Mangler &Mang, + MachineModuleInfo *MMI, + MCStreamer &Streamer) const LLVM_OVERRIDE; // The symbol that gets passed to .cfi_personality. MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang, - const TargetMachine &TM, MachineModuleInfo *MMI) const LLVM_OVERRIDE; }; |