forked from OSchip/llvm-project
Do not add entry symbol to the dead strip list. Partially revert r189776.
llvm-svn: 189778
This commit is contained in:
parent
8cdbf525a9
commit
0e70a16419
|
@ -185,8 +185,6 @@ public:
|
|||
// the symbol if your platform supports dead-stripping, so that the symbol
|
||||
// will not be removed from the output.
|
||||
void setEntrySymbolName(StringRef name) {
|
||||
// Entry function have to be resolved as an undefined symbol.
|
||||
addInitialUndefinedSymbol(name);
|
||||
_entrySymbolName = name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue