[all-commits] [llvm/llvm-project] 5ea2d4: Avoid conflicts between debug-info and pseudo-prob...
Paul T Robinson via All-commits
all-commits at lists.llvm.org
Wed Feb 10 07:35:13 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ea2d4fa481160c9843b8651df265ce1fbfd9316
https://github.com/llvm/llvm-project/commit/5ea2d4fa481160c9843b8651df265ce1fbfd9316
Author: Paul Robinson <paul.robinson at sony.com>
Date: 2021-02-10 (Wed, 10 Feb 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/pseudo-probe-emit.c
A clang/test/Driver/pseudo-probe.c
Log Message:
-----------
Avoid conflicts between debug-info and pseudo-probe profiling
After D93264, using both -fdebug-info-for-profiling and
-fpseudo-probe-for-profiling will cause the compiler to crash.
Diagnose these conflicting options in the driver.
Also, the existing CodeGen test was using the driver when it should be
running cc1.
Differential Revision: https://reviews.llvm.org/D96354
More information about the All-commits
mailing list