[PATCH] D145848: [Driver] Correct -f(no-)xray-function-index behavior
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 11 15:31:39 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:2219
defm xray_function_index : BoolFOption<"xray-function-index",
- CodeGenOpts<"XRayOmitFunctionIndex">, DefaultTrue,
- NegFlag<SetFalse, [CC1Option], "Omit function index section at the"
+ CodeGenOpts<"XRayOmitFunctionIndex">, DefaultFalse,
+ NegFlag<SetTrue, [CC1Option], "Omit function index section at the"
----------------
The change should be accompanies by a change to `clang/lib/Driver/XRayArgs.cpp`.
I'll fix this issue myself.
Thanks for reporting the bug, though.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145848/new/
https://reviews.llvm.org/D145848
More information about the cfe-commits
mailing list