[PATCH] D103502: Bug 41152 - [DebugInfo] Better dumping of empty location expression
Sourabh Singh Tomar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 09:46:23 PDT 2021
SouraVX added inline comments.
================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:329
uint64_t EntryValStartOffset = 0;
+ if (Data.getData().size()==0){
+ OS << "(empty)";
----------------
How about factoring this as:
```
if (!Data.getData().size())
OS << "(empty)";
```
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103502/new/
https://reviews.llvm.org/D103502
More information about the llvm-commits
mailing list