[PATCH] D145848: [Driver] Correct -f(no-)xray-function-index behavior
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 13 22:14:11 PDT 2023
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: clang/test/CodeGen/xray-function-index.cpp:1
+// RUN: %clang_cc1 -fxray-instrument -x c++ -std=c++11 -triple x86_64-unknown-linux-gnu -S -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-ENABLED
+// RUN: %clang_cc1 -fxray-instrument -fno-xray-function-index -x c++ -std=c++11 -triple x86_64-unknown-linux-gnu -S -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-DISABLED
----------------
MaskRay wrote:
> Add `// REQUIRES: x86-registered-target`
Move `// REQUIRES:` to the top
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145848/new/
https://reviews.llvm.org/D145848
More information about the cfe-commits
mailing list