diff options
author | Fangrui Song <maskray@google.com> | 2020-01-30 18:16:09 -0800 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-02-05 15:19:04 +0100 |
commit | 4c96b369a074e93a0be536dd795d3f245ef6f18b (patch) | |
tree | 6a9ee446ef21e7bca624ca68df5d528f59b3852f /clang/test/SemaCXX/warn-missing-variable-declarations.cpp | |
parent | b4efc29f1ccbc03453590bf7aae337853c91c91f (diff) | |
download | bcm5719-llvm-4c96b369a074e93a0be536dd795d3f245ef6f18b.tar.gz bcm5719-llvm-4c96b369a074e93a0be536dd795d3f245ef6f18b.zip |
[X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64}
Similar to D73680 (AArch64 BTI).
A local linkage function whose address is not taken does not need ENDBR32/ENDBR64. Placing the patch label after ENDBR32/ENDBR64 has the advantage that code does not need to differentiate whether the function has an initial ENDBR.
Also, add 32-bit tests and test that .cfi_startproc is at the function
entry. The line information has a general implementation and is tested
by AArch64/patchable-function-entry-empty.mir
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D73760
(cherry picked from commit 8ff86fcf4c038c7156ed4f01e7ed35cae49489e2)
Diffstat (limited to 'clang/test/SemaCXX/warn-missing-variable-declarations.cpp')
0 files changed, 0 insertions, 0 deletions