diff options
Diffstat (limited to 'llvm/tools/llvm-profgen/ProfiledBinary.cpp')
-rw-r--r-- | llvm/tools/llvm-profgen/ProfiledBinary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-profgen/ProfiledBinary.cpp b/llvm/tools/llvm-profgen/ProfiledBinary.cpp index aa4dd42..6dc0d260 100644 --- a/llvm/tools/llvm-profgen/ProfiledBinary.cpp +++ b/llvm/tools/llvm-profgen/ProfiledBinary.cpp @@ -206,7 +206,7 @@ void ProfiledBinary::load() { decodePseudoProbe(Obj); // Load debug info of subprograms from DWARF section. - loadSymbolsFromDWARF(*dyn_cast<ObjectFile>(&Binary)); + loadSymbolsFromDWARF(*cast<ObjectFile>(&Binary)); // Disassemble the text sections. disassemble(Obj); |