[all-commits] [llvm/llvm-project] 38e0a9: [lldb][AArch64][Linux] Fix memory tagging tests (#...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Apr 16 03:06:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38e0a9eb9efbbaa76fde598ccb5b4457ca7dfed1
      https://github.com/llvm/llvm-project/commit/38e0a9eb9efbbaa76fde598ccb5b4457ca7dfed1
  Author: David Spickett <david.spickett at arm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py
    M lldb/test/API/linux/aarch64/mte_tag_access/main.c

  Log Message:
  -----------
  [lldb][AArch64][Linux] Fix memory tagging tests (#192421)

The test program was relying on mmap calls to allocate pages that were
next to each other, which is not guaranteed but I got away with it on
our simulated systems for a time.

Instead of taking this chance, allocate all the pages once and then
split the allocation by changing the permissions of each page. That
ordering we can rely on.

The repeating tag options test is broken due
to #192057 so I've xfailed it.



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