diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-10 21:33:45 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-10 21:33:45 +0000 |
commit | 50f318384c4db1419f9c48d85af350260c4976b8 (patch) | |
tree | a9f2289117d1c965701ec5d7bcb55f96466dc248 /tools/lto/LTOCodeGenerator.h | |
parent | e1dee8a06e93f38f81f09887361045367a810436 (diff) | |
download | external_llvm-50f318384c4db1419f9c48d85af350260c4976b8.zip external_llvm-50f318384c4db1419f9c48d85af350260c4976b8.tar.gz external_llvm-50f318384c4db1419f9c48d85af350260c4976b8.tar.bz2 |
Revert r169656.
The linker will call `lto_codegen_add_must_preserve_symbol' on all globals that
should be kept around. The linker will pretend that a dylib is being created.
<rdar://problem/12528059>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOCodeGenerator.h')
-rw-r--r-- | tools/lto/LTOCodeGenerator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/lto/LTOCodeGenerator.h b/tools/lto/LTOCodeGenerator.h index db2a0fe..601dbfa 100644 --- a/tools/lto/LTOCodeGenerator.h +++ b/tools/lto/LTOCodeGenerator.h @@ -44,7 +44,6 @@ struct LTOCodeGenerator { bool setCodePICModel(lto_codegen_model, std::string &errMsg); void setCpu(const char* mCpu) { _mCpu = mCpu; } - void setExportDynamic(bool V) { _exportDynamic = V; } void addMustPreserveSymbol(const char* sym) { _mustPreserveSymbols[sym] = 1; @@ -71,7 +70,6 @@ private: llvm::TargetMachine* _target; bool _emitDwarfDebugInfo; bool _scopeRestrictionsDone; - bool _exportDynamic; lto_codegen_model _codeModel; StringSet _mustPreserveSymbols; StringSet _asmUndefinedRefs; |