[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:52 PST 2020
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;
----------------
Why is the target arch also checked in `clang/lib/Driver/ToolChains/Clang.cpp` in https://reviews.llvm.org/D72222?
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