| Issue |
179110
|
| Summary |
[DWARF] DWARFDie::getDeclFile() doesn't work with DW_FORM_implicit_const
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
sergey31415926
|
DWARFDie::getDeclFile() gets an invalid DWARFFormValue without a DWARFUnit* as DWARFAbbreviationDeclaration::getAttributeValueFromOffset() doesn't pass it in DWARFFormValue::createFromSValue().
Can be checked with DWARFDie::dump(). It works correctly as it gets a referenced value, not a lazy copy.
getDeclFile in DWARFDieTest.cpp has a value stored in DW_FORM_data1, so it passes.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs