aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorAdhemerval Zanella <zatrazz@gmail.com>2024-01-26 10:33:47 -0800
committerGitHub <noreply@github.com>2024-01-26 10:33:47 -0800
commita58c62fa824fd24d20fa2366e0ec8f241cb321fe (patch)
tree4a7e5eee97e6a6a69fb31d47dbf5b781a0e46ff9 /lldb/packages/Python/lldbsuite/test
parentbee1557ffc98e51ee714bab93cef011fe42468ab (diff)
downloadllvm-a58c62fa824fd24d20fa2366e0ec8f241cb321fe.zip
llvm-a58c62fa824fd24d20fa2366e0ec8f241cb321fe.tar.gz
llvm-a58c62fa824fd24d20fa2366e0ec8f241cb321fe.tar.bz2
[X86] Do not end 'note.gnu.property' section with -fcf-protection (#79360)
The glibc now adds the required minimum ISA level for libc-nonshared.a (linked on all programs) and this is done with an inline asm along with .note.gnu.property and .pushsection/.popsection. However, the x86 backend always ends the 'note.gnu.property' section when building with -fcf-protection, leading to assert failure: llvm/llvm-project-git/llvm/lib/MC/MCStreamer.cpp:1251: virtual void llvm::MCStreamer::switchSection(llvm::MCSection*, const llvm::MCExpr*): Assertion `!Section->hasEnded() && "Section already ended"' failed. [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86/isa-level.c;h=3f1b269848a52f994275bab6f60dded3ded6b144;hb=HEAD
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions