Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add patch for arm64 Ubuntu 22.04 in UnwindContext
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Wed, 1 Feb 2023 13:52:53 +0000 (14:52 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Thu, 9 Feb 2023 10:04:48 +0000 (11:04 +0100)
commit5989a6d624a0a270ec5be99747eb431f701912a4
treecc06db016c61bef1ad9f21ead5f20f3c81aeb400
parent7f00b09c7ebfa3b4e12c96c764ee7a0e0e07ec20
Add patch for arm64 Ubuntu 22.04 in UnwindContext

The `mcontext_t` struct on Ubuntu 22.04
running on arm64 is missing the `fregs`
field. This causes a compilation failure
in `src/mc/inspect/mc_unw.cpp` since the
code there assumes the field exists on
linux-arm64.

This commit adds a new CMake variable
SIMGRID_PROCESSOR_arm64 to account for
the additional architecture more
explicitly and to better fit the context
surrounding the code where the fix was made
CMakeLists.txt
src/internal_config.h.in
src/mc/inspect/mc_unw.cpp