[PATCH] D71325: [Remarks][Driver] Ask for line tables when remarks are enabled

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 08:40:14 PST 2019


aprantl added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:3724
+       DebugInfoKind == codegenoptions::LocTrackingOnly ||
+       DebugInfoKind == codegenoptions::DebugDirectivesOnly))
+    DebugInfoKind = codegenoptions::DebugLineTablesOnly;
----------------
`DebugInfoKind < codegenoptions::DebugDirectivesOnly`
lest someone will sneak in another enumerator without updating this code.


Repository:
  rC Clang

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

https://reviews.llvm.org/D71325





More information about the cfe-commits mailing list