Add the DW_OP_const* and DW_OP_lit* classes of DWARF expression opcodes, to display variables which have a constant value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
230 ms | Clang.Analysis::Unknown Unit Message ("") |
Event Timeline
llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp | ||
---|---|---|
161–162 | I'd recommend adding a 0 case too. | |
167–168 | Please add 0, max single-byte signed and min single-byte signed (i.e. -127 or whatever the value is) too. | |
183–189 | You should have the maximum value also tested for all of these. -1/0/1 cases probably make sense too, but up to you. | |
193–194 | You should probably have a test case for each DW_OP_lit value. |
I'd recommend adding a 0 case too.