From 5a500fd2c50a70c98981de5f2b7fb1b7be615127 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 27 May 2019 13:43:01 +0000 Subject: [PATCH] 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 --- lldb/lit/Unwind/prefer-debug-over-eh-frame.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/lit/Unwind/prefer-debug-over-eh-frame.test b/lldb/lit/Unwind/prefer-debug-over-eh-frame.test index 49113466b607..f023a1e75fad 100644 --- a/lldb/lit/Unwind/prefer-debug-over-eh-frame.test +++ b/lldb/lit/Unwind/prefer-debug-over-eh-frame.test @@ -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