[PATCH] D72221: Support function attribute patchable_function_entry
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 6 10:06:54 PST 2020
nickdesaulniers marked an inline comment as done.
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4925
+ T.getArch() != llvm::Triple::x86_64) {
+ S.Diag(getAttrLoc(AL), diag::err_attribute_unsupported) << AL;
+ return;
----------------
nickdesaulniers wrote:
> Why is the target arch also checked in `clang/lib/Driver/ToolChains/Clang.cpp` in https://reviews.llvm.org/D72222?
Ah, https://reviews.llvm.org/D72221 is checking the `__attribute__` syntax, https://reviews.llvm.org/D72222 is checking the command line `-f` syntax.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72221/new/
https://reviews.llvm.org/D72221
More information about the cfe-commits
mailing list