mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-29 22:00:39 -08:00
As explained by commit849f1dd15e, -fxray-function-index was the original default but was accidentally flipped by commitd8a8e5d624. 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"
|