<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase) fails on Apple Silicon (arm64)"
   href="https://bugs.llvm.org/show_bug.cgi?id=52430">52430</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase) fails on Apple Silicon (arm64)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jdevlieghere@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
----------------------------------------------------------------------</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>