XFAIL prefer-debug-over-eh-frame.test on darwin

debug_frame does not seem to work on darwin, so there is nothing to
prefer.

Adding `-g` to the compiler command line is enough to get the
__debug_frame section added to the dsym file. Though lldb then finds the
section, and correctly assigns the section type to it, this does not
seem to be enough to get lldb to actually use this section for
unwinding.

llvm-svn: 361760
This commit is contained in:
Pavel Labath 2019-05-27 13:43:01 +00:00
parent 2b5f340bcb
commit 5a500fd2c5
1 changed files with 2 additions and 1 deletions

View File

@ -5,9 +5,10 @@
# be thrown.
# UNSUPPORTED: system-windows
# XFAIL: system-darwin
# REQUIRES: target-x86_64, native
# RUN: %clang %p/Inputs/call-asm.c %p/Inputs/prefer-debug-over-eh-frame.s -o %t
# RUN: %clang -g %p/Inputs/call-asm.c %p/Inputs/prefer-debug-over-eh-frame.s -o %t
# RUN: %lldb %t -s %s -o exit | FileCheck %s
breakpoint set -n bar