diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-20 12:00:52 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-20 12:00:52 +0000 |
commit | f5a1debd28b40d8f9c2232253eb75316c4e687d7 (patch) | |
tree | 5374447d024677439c9c5214ba2c54b12d6c8c76 /include | |
parent | e3282d30d89c09aeae6af1a43556ffed62d24ddb (diff) |
Simplify handling of hidden stubs on PowerPC.
We now handle them just like non hidden ones. This was already the case
on x86 (r207518) and arm (r207517).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfoImpls.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfoImpls.h b/include/llvm/CodeGen/MachineModuleInfoImpls.h index 0561ef5c0c0..52721fab88b 100644 --- a/include/llvm/CodeGen/MachineModuleInfoImpls.h +++ b/include/llvm/CodeGen/MachineModuleInfoImpls.h @@ -32,12 +32,6 @@ class MachineModuleInfoMachO : public MachineModuleInfoImpl { /// is true if this GV is external. DenseMap<MCSymbol *, StubValueTy> GVStubs; - /// HiddenGVStubs - Darwin '$non_lazy_ptr' stubs. The key is something like - /// "Lfoo$non_lazy_ptr", the value is something like "_foo". Unlike GVStubs - /// these are for things with hidden visibility. The extra bit is true if - /// this GV is external. - DenseMap<MCSymbol *, StubValueTy> HiddenGVStubs; - /// ThreadLocalGVStubs - Darwin '$non_lazy_ptr' stubs. The key is something /// like "Lfoo$non_lazy_ptr", the value is something like "_foo". The extra /// bit is true if this GV is external. @@ -57,11 +51,6 @@ public: return GVStubs[Sym]; } - StubValueTy &getHiddenGVStubEntry(MCSymbol *Sym) { - assert(Sym && "Key cannot be null"); - return HiddenGVStubs[Sym]; - } - StubValueTy &getThreadLocalGVStubEntry(MCSymbol *Sym) { assert(Sym && "Key cannot be null"); return ThreadLocalGVStubs[Sym]; @@ -70,7 +59,6 @@ public: /// Accessor methods to return the set of stubs in sorted order. SymbolListTy GetFnStubList() { return getSortedStubs(FnStubs); } SymbolListTy GetGVStubList() { return getSortedStubs(GVStubs); } - SymbolListTy GetHiddenGVStubList() { return getSortedStubs(HiddenGVStubs); } SymbolListTy GetThreadLocalGVStubList() { return getSortedStubs(ThreadLocalGVStubs); } |