Prevent creation of MachineDebugInfo for intel unless it is darwin. RC842.
llvm-svn: 29317
This commit is contained in:
		
							parent
							
								
									0f3e0b0292
								
							
						
					
					
						commit
						c169b8798f
					
				| 
						 | 
				
			
			@ -64,7 +64,9 @@ struct X86SharedAsmPrinter : public AsmPrinter {
 | 
			
		|||
 | 
			
		||||
  void getAnalysisUsage(AnalysisUsage &AU) const {
 | 
			
		||||
    AU.setPreservesAll();
 | 
			
		||||
    if (Subtarget->TargetType == X86Subtarget::isDarwin) {
 | 
			
		||||
      AU.addRequired<MachineDebugInfo>();
 | 
			
		||||
    }
 | 
			
		||||
    MachineFunctionPass::getAnalysisUsage(AU);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue