Any time a symbol record, whether it's S_UDT, S_LOCAL, or S_[GL]DATA32,
references a record type, it should use the complete type index, even if
there's a typedef in the way.
Fixes PR39853.
Differential D55236
[codeview] Look through typedefs in getCompleteTypeIndex rnk on Dec 3 2018, 3:28 PM. Authored by
Details Any time a symbol record, whether it's S_UDT, S_LOCAL, or S_[GL]DATA32, Fixes PR39853.
Diff Detail
Event TimelineComment Actions
The issue I was discussing with Zachary occurs when using cl-generated OBJs with LLD (we haven't deployed clang in production yet).
Comment Actions I guess it depends how we want to scope the PR. I'll just say this fixes the compiler side of it, i.e. makes clang generate the same debug info as msvc.
|