Skip to content

Commit 1b6686a

Browse files
author
Amirhossein Pashaeehir
committed
Use the new expression printer function
1 parent 3ca3eb6 commit 1b6686a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/DebugInfo/DWARF/DWARFUnwindTable.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "llvm/DebugInfo/DWARF/DWARFUnwindTable.h"
1010
#include "llvm/DebugInfo/DIContext.h"
11+
#include "llvm/DebugInfo/DWARF/DWARFExpressionPrinter.h"
1112
#include "llvm/Support/Errc.h"
1213
#include "llvm/Support/ErrorHandling.h"
1314
#include "llvm/Support/Format.h"
@@ -103,7 +104,7 @@ void UnwindLocation::dump(raw_ostream &OS, DIDumpOptions DumpOpts) const {
103104
break;
104105
case DWARFExpr: {
105106
if (Expr)
106-
DWARFExpressionPrinter::print(&(*Expr), OS, DumpOpts, nullptr);
107+
printDwarfExpression(&(*Expr), OS, DumpOpts, nullptr);
107108
break;
108109
}
109110
case Constant:

0 commit comments

Comments
 (0)