diff options
author | Fangrui Song <maskray@google.com> | 2019-12-21 22:22:59 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-12-21 22:47:24 -0800 |
commit | 0792ef72564071f21b727d0de3a14d565950290f (patch) | |
tree | f2bb660bb416582e6a703e65a799e7c0587ba954 /clang/lib/Frontend/FrontendActions.cpp | |
parent | ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a (diff) | |
download | llvm-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