diff options
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp index 18c4e8e4caf..2165d353ba0 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp +++ b/llvm/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<MachOObjectFile>(&Obj)) + if (!L && isa<MachOObjectFile>(&Obj)) continue; RelSecName = RelSecName.substr( |

