diff options
author | Marco Elver <elver@google.com> | 2023-11-21 20:48:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 20:48:01 +0100 |
commit | a855a16a02e76a0f4192c038bb64f3773947a2f7 (patch) | |
tree | 069e63f7a03a7a3e25f7e8c7fdb586771812e1c6 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 46a84794486e610785b860af3776a892ab5016d0 (diff) | |
download | llvm-a855a16a02e76a0f4192c038bb64f3773947a2f7.zip llvm-a855a16a02e76a0f4192c038bb64f3773947a2f7.tar.gz llvm-a855a16a02e76a0f4192c038bb64f3773947a2f7.tar.bz2 |
[compiler-rt] Fix interceptors with Solaris as (#72973)
Jakub Jelínek reports:
As mentioned in https://gcc.gnu.org/PR112563, the new DECLARE_WRAPPER
macro
added in 37445e9 and ammended in 85d3873 doesn't work on SPARC/Solaris
with
Solaris as.
While clang and GNU as when used from GCC seems to be forgiving on most
architectures and allow both %function and @function (with the latter
not being
allowed on ARM/AArch64 I believe because @ is assembler comment start
there),
Solaris as doesn't allow the %function form.
Fix it by using %function only for ARM.
Co-developed-by: Jakub Jelínek <jakub@redhat.com>
Reported-by: Jakub Jelínek <jakub@redhat.com>
Closes: https://github.com/llvm/llvm-project/issues/72970
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions