[PATCH] D51640: [DebugInfo] Normalize common kinds of DWARF sub-expressions.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 4 11:10:30 PDT 2018
aprantl added inline comments.
================
Comment at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp:31
+ emitOp(dwarf::DW_OP_lit0 + Value);
+ else if (Value == ~0U) {
+ emitOp(dwarf::DW_OP_lit0);
----------------
These are 64 bit values. We either need ~0ULL or std::limits::max<uint64_t>().
https://reviews.llvm.org/D51640
More information about the llvm-commits
mailing list