aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-21 22:22:59 -0800
committerFangrui Song <maskray@google.com>2019-12-21 22:47:24 -0800
commit0792ef72564071f21b727d0de3a14d565950290f (patch)
treef2bb660bb416582e6a703e65a799e7c0587ba954 /clang/lib/Frontend/FrontendActions.cpp
parentba0eb7b66fd9dac7bf4883f70b65bded03a4b97a (diff)
downloadllvm-0792ef72564071f21b727d0de3a14d565950290f.zip
llvm-0792ef72564071f21b727d0de3a14d565950290f.tar.gz
llvm-0792ef72564071f21b727d0de3a14d565950290f.tar.bz2
[Driver] Verify -mrecord-mcount in Driver, instead of CodeGen after D71627
GCC's x86 and s390 ports support -mrecord-mcount. Other ports reject the option. aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-mrecord-mcount’ Allowing this option can cause failures when building Linux kernel for aarch64, powerpc64, etc, which will think the feature is available if the clang command returns 0.
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions