parent
							
								
									742dbf1e1d
								
							
						
					
					
						commit
						7cf5fedbad
					
				| 
						 | 
				
			
			@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd,
 | 
			
		|||
      if (!DL)
 | 
			
		||||
        continue;
 | 
			
		||||
 | 
			
		||||
      DIScope Scope(DL.getScope());
 | 
			
		||||
      DIScope Scope = cast<MDScope>(DL.getScope());
 | 
			
		||||
 | 
			
		||||
      if (FileName.empty())
 | 
			
		||||
        FileName = Scope.getFilename();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue