[PATCH] D71675: [Remarks][Driver] Run dsymutil when remarks are enabled

Jonas Devlieghere via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 13:32:07 PST 2019


JDevlieghere added inline comments.


================
Comment at: clang/test/Driver/darwin-opt-record.c:21
+// -gline-tables-only and would need -fno-save-optimization-record to
+// completely disable it.
+// CHECK-DSYMUTIL-G0: "-cc1"
----------------
thegameg wrote:
> The other choice would be honoring `-g0` and:
> 
> * not passing `debug-info-kind=` to `cc1`
> * not running `dsymutil`
> * possibly emit a warning/error that the options are incompatible
I think the current approach is the most intuitive. 


Repository:
  rC Clang

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

https://reviews.llvm.org/D71675





More information about the cfe-commits mailing list