[PATCH] D72222: [Driver][CodeGen] Add -fpatchable-function-entry=N[,M]
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 4 21:13:25 PST 2020
MaskRay created this revision.
MaskRay added reviewers: dberris, kristof.beyls, nickdesaulniers, rnk, rsmith, void.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
MaskRay added a parent revision: D72221: Support function attribute patchable_function_entry.
MaskRay added subscribers: uweigand, jonpa.
In the backend, this feature is implemented with the function attribute
"patchable-function-entry". Both the attribute and XRay use
TargetOpcode::PATCHABLE_FUNCTION_ENTER, so the two features are
incompatible.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72222
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/XRayArgs.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/patchable-function-entry.c
clang/test/Sema/patchable-function-entry-attr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72222.236220.patch
Type: text/x-patch
Size: 6697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200105/73148d8b/attachment.bin>
More information about the cfe-commits
mailing list