[PATCH] D37080: [CodeView] only output S_UDT for symbols that have strong variable references.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 17:07:19 PDT 2017


rnk added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:2263
     OS.AddComment("Type");
-    OS.EmitIntValue(UDT.second.getIndex(), 4);
+    TypeIndex TI = getCompleteTypeIndex(UDT->UnderlyingType);
+    OS.EmitIntValue(TI.getIndex(), 4);
----------------
I'd try reverting this change and see if that fixes the linker warnings.


https://reviews.llvm.org/D37080





More information about the llvm-commits mailing list