Revert "[ThinLTO] Prevent exporting of locals used/defined in module level asm"
This reverts commit r286297. Introduces a dependency from libAnalysis to libObject, which I missed during the review. llvm-svn: 286329
This commit is contained in:
@@ -54,7 +54,8 @@ void IRObjectFile::CollectAsmUndefinedRefs(
|
||||
|
||||
std::string Err;
|
||||
const Target *T = TargetRegistry::lookupTarget(TT.str(), Err);
|
||||
assert(T && T->hasMCAsmParser());
|
||||
if (!T)
|
||||
return;
|
||||
|
||||
std::unique_ptr<MCRegisterInfo> MRI(T->createMCRegInfo(TT.str()));
|
||||
if (!MRI)
|
||||
|
||||
Reference in New Issue
Block a user