[all-commits] [llvm/llvm-project] 3eaaf7: [lldb][AArch64] Fix crash loading core files on 32...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Sep 26 05:06:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3eaaf7c4d062976901c79b523e9f3cc606943119
      https://github.com/llvm/llvm-project/commit/3eaaf7c4d062976901c79b523e9f3cc606943119
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp

  Log Message:
  -----------
  [lldb][AArch64] Fix crash loading core files on 32 bit systems

https://github.com/llvm/llvm-project/pull/109934 added FPMR which
uses a bit in hwcaps greater than 31. So it marked the 1 with UL
which is fine on 64 bit systems but for 32 bit UL is 4 bytes.

Use ULL so we aren't invoking undefined behaviour.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list