[llvm-bugs] [Bug 43015] New: Assertion `(!RPI.isPaired() || RPI.Reg2 != AArch64::FP || RPI.Reg1 == AArch64::LR) && "FrameRecord must be allocated together with LR"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 15 17:03:05 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43015
Bug ID: 43015
Summary: Assertion `(!RPI.isPaired() || RPI.Reg2 != AArch64::FP
|| RPI.Reg1 == AArch64::LR) && "FrameRecord must be
allocated together with LR"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: leonardchan at google.com
CC: arnaud.degrandmaison at arm.com,
llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
Ties.Stuij at arm.com
Created attachment 22382
--> https://bugs.llvm.org/attachment.cgi?id=22382&action=edit
reproducer
We ran into an assertion error when building zircon for aarch64.
[1179/45610] CC efi-arm64-clang/obj/bootloader/lib/lib.loadfile.c.o
FAILED: efi-arm64-clang/obj/bootloader/lib/lib.loadfile.c.o
../../recipe_cleanup/clangUV6nQv/bin/clang -MD -MF
efi-arm64-clang/obj/bootloader/lib/lib.loadfile.c.o.d -o
efi-arm64-clang/obj/bootloader/lib/lib.loadfile.c.o
-DTOOLCHAIN_VERSION=/b/s/w/ir/k/recipe_cleanup/clangUV6nQv/bin
-DZX_DEBUGLEVEL=2 -DLK_DEBUGLEVEL=2
-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1
-I/b/s/w/ir/k/recipe_cleanup/clangUV6nQv/include/c++/v1
-I../../zircon/system/public -I../../zircon/bootloader/include
-I../../zircon/kernel/lib/efi/include -fno-common --target=aarch64-windows-msvc
-fcrash-diagnostics-dir=clang-crashreports -fcolor-diagnostics
-fdebug-prefix-map=/b/s/w/ir/k/out/default.zircon=.
-fdebug-prefix-map=/b/s/w/ir/k/out=.. -fdebug-prefix-map=/b/s/w/ir/k=../..
-no-canonical-prefixes -O2 -g3 -Wall -Wextra -Wno-multichar
-Wno-unused-parameter -Wno-unused-function -Werror=unused-label
-Werror=return-type -Wno-address-of-packed-member -Wnewline-eof
-Wimplicit-fallthrough -ffunction-sections -fdata-sections -Wthread-safety
-Werror -Wno-error=deprecated-declarations -std=c99 -fshort-wchar -U_MSC_VER
-ffreestanding -include ../../zircon/kernel/include/hidden.h -fno-unwind-tables
-mgeneral-regs-only -fno-sanitize=all -fsanitize-coverage=0
-fno-stack-protector -std=c11 -Werror=implicit-function-declaration
-Wstrict-prototypes -Wwrite-strings -Wno-absolute-value -c
../../zircon/bootloader/lib/loadfile.c
clang:
/b/s/w/ir/k/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:1834:
void computeCalleeSaveRegisterPairs(llvm::MachineFunction &, const
std::vector<CalleeSavedInfo> &, const llvm::TargetRegisterInfo *,
SmallVectorImpl<(anonymous namespace)::RegPairInfo> &, bool &, bool): Assertion
`(!RPI.isPaired() || RPI.Reg2 != AArch64::FP || RPI.Reg1 == AArch64::LR) &&
"FrameRecord must be allocated together with LR"' failed.
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Fuchsia clang version 10.0.0
(https://fuchsia.googlesource.com/a/third_party/llvm-project
c984dde170bbe71ed40add2fe918ffbb92cbce65) (based on LLVM 10.0.0svn)
Target: aarch64-unknown-windows-msvc
Thread model: posix
InstalledDir: ../../recipe_cleanup/clangUV6nQv/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: clang-crashreports/loadfile-03e366.c
clang: note: diagnostic msg: clang-crashreports/loadfile-03e366.sh
clang: note: diagnostic msg:
********************
Reproducer attached.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190816/b91ade1a/attachment.html>
More information about the llvm-bugs
mailing list