[PATCH] D46850: [DebugInfo] Generate fixups as emitting DWARF .debug_line.
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 22 10:56:10 PDT 2018
probinson added inline comments.
================
Comment at: lib/MC/MCAssembler.cpp:951
+ const MCBinaryExpr *ABE = cast_or_null<MCBinaryExpr>(&DF.getAddrDelta());
+ assert(ABE && "We expect address delta is a binary expression.");
+ FixupExpr = ABE->getLHS();
----------------
Why not `cast<MCBinaryExpr>` and skip the assertion?
Repository:
rL LLVM
https://reviews.llvm.org/D46850
More information about the llvm-commits
mailing list