[PATCH] D55239: [codeview] Emit typedefs of types derived from incomplete types

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 3 16:03:36 PST 2018


zturner added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:1447
+  // Don't emit a UDT if we only have a forward declaration.
+  if (T && T->isForwardDecl())
+    return false;
----------------
Is this sufficient?  If `T->isForwardDecl()` is true, does that mean the debug info does not contain a full decl at all?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55239/new/

https://reviews.llvm.org/D55239





More information about the llvm-commits mailing list