Do not add entry symbol to the dead strip list. Partially revert r189776.

llvm-svn: 189778
This commit is contained in:
Rui Ueyama 2013-09-03 03:34:33 +00:00
parent 8cdbf525a9
commit 0e70a16419
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}