[all-commits] [llvm/llvm-project] eddd94: Reland "[clang][debug] port clang-cl /JMC flag to ...
Yuanfang Chen via All-commits
all-commits at lists.llvm.org
Mon Mar 7 21:56:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eddd94c27df609113af1d1b795d8483aa6dd662c
https://github.com/llvm/llvm-project/commit/eddd94c27df609113af1d1b795d8483aa6dd662c
Author: Yuanfang Chen <yuanfang.chen at sony.com>
Date: 2022-03-07 (Mon, 07 Mar 2022)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/cl-options.c
M clang/test/Driver/clang_f_opts.c
M llvm/lib/CodeGen/JMCInstrumenter.cpp
A llvm/test/Instrumentation/JustMyCode/jmc-instrument-elf.ll
M llvm/test/Instrumentation/JustMyCode/jmc-instrument-x86.ll
M llvm/test/Instrumentation/JustMyCode/jmc-instrument.ll
Log Message:
-----------
Reland "[clang][debug] port clang-cl /JMC flag to ELF"
This relands commit 731347431976509823e38329a96fcbc69fe98cd2.
It failed on Windows/Mac because `-fjmc` is only checked for ELF targets.
Check the flag unconditionally instead and issue a warning for non-ELF targets.
More information about the All-commits
mailing list