[PATCH] D94820: Support for instrumenting only selected files or functions
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 21 09:23:56 PST 2021
vsk added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenFunction.cpp:851
+ return "csllvm";
+ default:
+ llvm_unreachable("unknown instrumentation type");
----------------
If we add an instrumentation kind, it may be more convenient to trigger a -Wcovered-switch warning (by removing this default case) vs. seeing a crash at runtime.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94820/new/
https://reviews.llvm.org/D94820
More information about the cfe-commits
mailing list