Previously, the definition was so-marked, but the declaration was
not. This resulted in LLVM's dwarf emission treating the function as
being external, and incorrectly emitting DW_AT_external.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sounds good. Out of curiosity, how'd you come across this/do you have any particular use case that uses DW_AT_external?
clang/test/CodeGenCXX/debug-info-class.cpp | ||
---|---|---|
27–34 | Might be better to add a separate class to test this case - modifying this class may reduce coverage of existing features (the vtable homing (well, lack of homing due to ~D being virtual and inline) would no longer be tested here, since the type is internal and that'd override the other logic. |
Might be better to add a separate class to test this case - modifying this class may reduce coverage of existing features (the vtable homing (well, lack of homing due to ~D being virtual and inline) would no longer be tested here, since the type is internal and that'd override the other logic.