
As explained by commit 849f1dd15e92fda2b83dbb6144e6b28b2cb946e0, -fxray-function-index was the original default but was accidentally flipped by commit d8a8e5d6240a1db809cd95106910358e69bbf299. Restore the previous behavior. Originally reported by Oleksii Lozovskyi in D145848.
6 lines
313 B
C++
6 lines
313 B
C++
// RUN: %clang -### -c --target=x86_64 -fxray-instrument %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -### -c --target=x86_64 -fxray-instrument -fxray-function-index -fno-xray-function-index %s 2>&1 | FileCheck %s --check-prefix=DISABLED
|
|
|
|
// CHECK-NOT: "-fxray-function-index"
|
|
// DISABLED: "-fno-xray-function-index"
|