[PATCH] D83154: clang: Add -fcoverage-prefix-map

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 22:28:15 PDT 2020


MaskRay added a comment.

-fdebug-prefix-map does not make sense to me because coverage is not debug info.
I am on the fence whether we need -fcoverage-prefix-map. I created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092 (Should --coverage respect -ffile-prefix-map?)



================
Comment at: clang/include/clang/Driver/Options.td:2066
+  : Joined<["-"], "fcoverage-prefix-map=">, Group<f_Group>,
+    Flags<[CC1Option,CC1AsOption]>,
+    HelpText<"remap file source paths in coverage info">;
----------------
Drop CC1AsOption

The option does not affect -cc1as (assembly input)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83154





More information about the cfe-commits mailing list