Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-O3.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
// DW_AT_type (0x00000032 "char[5]")
// DW_AT_location (DW_OP_piece 0x2, DW_OP_addrx 0x0, DW_OP_piece 0x1)

// XFAIL: target=aarch64-pc-windows-{{.*}}
Copy link
Contributor

@luporl luporl Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to just skip the test on windows:
// UNSUPPORTED: system-windows

At least on AArch64, debug info doesn't work with -O3 -gdwarf.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thank you, good to know!

// RUN: %clang_host -O3 -gdwarf %s -o %t
// RUN: %lldb %t \
// RUN: -o "b 25" \
// RUN: -o "b 26" \
// RUN: -o "r" \
// RUN: -o "p/x array[2]" \
// RUN: -b | FileCheck %s
Expand Down
Loading