[PATCH] D107876: [CSSPGO] Allow the use of debug-info-for-profiling and pseudo-probe-for-profiling together
Wenlei He via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 10 21:48:17 PDT 2021
wenlei added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:3896
- // These two forms of profiling info can't be used together.
- if (const Arg *A1 = Args.getLastArg(options::OPT_fpseudo_probe_for_profiling))
- if (const Arg *A2 = Args.getLastArg(options::OPT_fdebug_info_for_profiling))
----------------
Would a warning be useful to catch accidental misuse?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107876/new/
https://reviews.llvm.org/D107876
More information about the cfe-commits
mailing list