[PATCH] D44116: [CodeView] Emit UdtSourceLine information for enums
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 6 10:01:57 PST 2018
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:1791
+ addUDTSrcLine(Ty, EnumTI);
+
+ return EnumTI;
----------------
We should call `addToUDTs(Ty)` here as a followup. MSVC emits S_UDT records for enums as well as typedefs, structs, etc.
https://reviews.llvm.org/D44116
More information about the llvm-commits
mailing list