[clang] [compiler-rt] Reapply " [XRay] Add support for instrumentation of DSOs on x86_64 (#90959)" (PR #113548)

Sebastian Kreutzer via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 00:42:05 PDT 2024


================
@@ -0,0 +1,17 @@
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fPIC -fxray-instrument -fxray-shared -c %s -o /dev/null 2>&1 | FileCheck %s
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fpic -fxray-instrument -fxray-shared -c %s -o /dev/null 2>&1 | FileCheck %s
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fxray-instrument -fxray-shared -c %s -o /dev/null 2>&1 | FileCheck %s
----------------
sebastiankreutzer wrote:

Hi, thanks for the comment. I agree with you that this check should be removed. 
The issue was pointed out to me by another person and I prepared a patch here:  #113892 (forgot to link it here before).

https://github.com/llvm/llvm-project/pull/113548


More information about the cfe-commits mailing list