Add a unit test for the compact DWARF expression printer which will be used by the llvm-objdump --debug-vars option.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp | ||
---|---|---|
28 | As this is a brand new file, and is completely local in scope (i.e. doesn't get used by anything else), perhaps we should apply the planned new variable naming rules of lower camel-case for variable names (e.g. mri, tripleName etc)? What do you think? I'm okay with it either way. | |
42–43 | Are you sure this won't run the test here? I think this will just stop the constructor early, but the test will still be run. I think you need this return inside the TEST_F blocks. |
llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp | ||
---|---|---|
28 | I'd prefer to keep the style consistent with the nearby files until we switch over to the new rule. |
This list should be kept in alphabetical order.