X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FDebugInfo%2FDWARF%2FDWARFContext.cpp;fp=lib%2FDebugInfo%2FDWARF%2FDWARFContext.cpp;h=2165d353ba0968b348b3ced9b956679a90046dcd;hb=766278ea849cdbe780f543a864c1740429f9f0dc;hp=18c4e8e4cafdbf44635f5dae65db454251fcc436;hpb=d33bb62823b37dab31f996cfbe7a5b8563d85e9b;p=oota-llvm.git diff --git a/lib/DebugInfo/DWARF/DWARFContext.cpp b/lib/DebugInfo/DWARF/DWARFContext.cpp index 18c4e8e4caf..2165d353ba0 100644 --- a/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/lib/DebugInfo/DWARF/DWARFContext.cpp @@ -704,7 +704,7 @@ DWARFContextInMemory::DWARFContextInMemory(const object::ObjectFile &Obj, // relocation point already factors in the section address // (actually applying the relocations will produce wrong results // as the section address will be added twice). - if (!L && dyn_cast(&Obj)) + if (!L && isa(&Obj)) continue; RelSecName = RelSecName.substr(