mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Don't create implicit comdats.
comdats are explicitly represented for some time now. llvm-svn: 253924
This commit is contained in:
parent
6c363eee43
commit
bdc0b27af4
@ -451,8 +451,6 @@ static ld_plugin_status claim_file_hook(const ld_plugin_input_file *file,
|
|||||||
const Comdat *C = Base->getComdat();
|
const Comdat *C = Base->getComdat();
|
||||||
if (C)
|
if (C)
|
||||||
sym.comdat_key = strdup(C->getName().str().c_str());
|
sym.comdat_key = strdup(C->getName().str().c_str());
|
||||||
else if (Base->hasWeakLinkage() || Base->hasLinkOnceLinkage())
|
|
||||||
sym.comdat_key = strdup(sym.name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sym.resolution = LDPR_UNKNOWN;
|
sym.resolution = LDPR_UNKNOWN;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user