[PATCH] D71451: Support to emit extern variables debuginfo with "-fstandalone-debug"

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 09:00:00 PST 2020


aprantl added a comment.

In D71451#1816269 <https://reviews.llvm.org/D71451#1816269>, @Jac1494 wrote:

> ping


I'd be curious to the answer to David's questions. If the size increase is because of unused extern variables coming in from libc or something then it doesn't seem worth the cost.



================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:4598
+  if (!(DebugKind == clang::codegenoptions::FullDebugInfo))
+    return;
 
----------------
nit: 

```
if (DebugKind < clang::codegenoptions::FullDebugInfo)
  return

```


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

https://reviews.llvm.org/D71451





More information about the llvm-commits mailing list