[llvm-bugs] [Bug 52430] New: test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase) fails on Apple Silicon (arm64)
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 5 21:32:25 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=52430
Bug ID: 52430
Summary: test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase)
fails on Apple Silicon (arm64)
Product: lldb
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: jdevlieghere at apple.com
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
The test should have 3 frames: bar, foo and _start, but it only has the
following two:
frame #0: 0x00000000004001c8 linux-aarch64-pac.out`bar(boom=0x0000000000000000)
at main.c:4:11
frame #1: 0x002f0000004001a0
======================================================================
FAIL: test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase)
Test that lldb can unwind stack for AArch64 elf core file with PAC enabled.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/jonas/llvm/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py",
line 259, in test_aarch64_pac
self.check_all(process, self._aarch64_pac_pid, self._aarch64_regions,
"a.out")
File
"/Users/jonas/llvm/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py",
line 615, in check_all
self.check_stack(process, pid, thread_name)
File
"/Users/jonas/llvm/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py",
line 597, in check_stack
self.assertEqual(thread.GetNumFrames(), len(backtrace))
AssertionError: 2 != 3
Config=arm64-/Users/jonas/llvm/build-ra/bin/clang
----------------------------------------------------------------------
--
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/20211106/999d4633/attachment.html>
More information about the llvm-bugs
mailing list