[all-commits] [llvm/llvm-project] 599d35: [lldb] Restrict TestVariableAnnotationsDisassemble...

Abdullah Mohammad Amin via All-commits all-commits at lists.llvm.org
Fri Aug 29 08:23:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 599d353938f52457b7c7e1ab7f223132bb353370
      https://github.com/llvm/llvm-project/commit/599d353938f52457b7c7e1ab7f223132bb353370
  Author: Abdullah Mohammad Amin <abdullahmohammad155 at gmail.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M lldb/test/API/functionalities/disassembler-variables/TestVariableAnnotationsDisassembler.py

  Log Message:
  -----------
  [lldb] Restrict TestVariableAnnotationsDisassembler.py to ELF x86_64 (skip on Windows/COFF) (#156026)

The `TestVariableAnnotationsDisassembler.py` test assembles
`d_original_example.s`,
which contains ELF-specific directives such as:

- `.ident`
- `.section ".note.GNU-stack", "", @progbits`
- `.section .debug_line, "", @progbits`

These directives are not understood by COFF on Windows, so the test
fails
on the lldb-remote-linux-win builder even when running on x86_64.

This patch adds a decorator to gate the test,
- `@skipUnlessPlatform(["linux", "freebsd", "netbsd", "android"])` — 
  runs only on ELF platforms

Follow-up to #155942.



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