[Driver][CodeGen] Support -fpatchable-function-entry=N,M and __attribute__((patchable...
authorFangrui Song <maskray@google.com>
Mon, 20 Jan 2020 22:30:06 +0000 (14:30 -0800)
committerFangrui Song <maskray@google.com>
Fri, 24 Jan 2020 01:02:54 +0000 (17:02 -0800)
commit69bf40c45fd7f6dfe11b47de42571d8bff5ef94f
treea3ffc30b1b9e1dd0c234eebbe055451d0eb9f7f8
parent01da05b71aa72c15a518d3407682a3775db63808
[Driver][CodeGen] Support -fpatchable-function-entry=N,M and __attribute__((patchable_function_entry(N,M))) where M>0

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D73072
12 files changed:
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/patchable-function-entry.c
clang/test/Driver/fpatchable-function-entry.c
clang/test/Sema/patchable-function-entry-attr.c