mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Prevent creation of MachineDebugInfo for intel unless it is darwin. RC842.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f58473f416
commit
30ffe1b776
@ -64,7 +64,9 @@ struct X86SharedAsmPrinter : public AsmPrinter {
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineDebugInfo>();
|
||||
if (Subtarget->TargetType == X86Subtarget::isDarwin) {
|
||||
AU.addRequired<MachineDebugInfo>();
|
||||
}
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user