mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Strip llvm.dbg.lv also.
llvm-svn: 104236
This commit is contained in:
parent
af66103d32
commit
ae24244a10
@ -229,6 +229,12 @@ static bool StripDebugInfo(Module &M) {
|
||||
NMD->eraseFromParent();
|
||||
}
|
||||
|
||||
NMD = M.getNamedMetadata("llvm.dbg.lv");
|
||||
if (NMD) {
|
||||
Changed = true;
|
||||
NMD->eraseFromParent();
|
||||
}
|
||||
|
||||
unsigned MDDbgKind = M.getMDKindID("dbg");
|
||||
for (Module::iterator MI = M.begin(), ME = M.end(); MI != ME; ++MI)
|
||||
for (Function::iterator FI = MI->begin(), FE = MI->end(); FI != FE;
|
||||
|
Loading…
Reference in New Issue
Block a user