[Lldb-commits] [lldb] r361760 - XFAIL prefer-debug-over-eh-frame.test on darwin

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon May 27 06:43:02 PDT 2019


Author: labath
Date: Mon May 27 06:43:01 2019
New Revision: 361760

URL: http://llvm.org/viewvc/llvm-project?rev=361760&view=rev
Log:
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.

Modified:
    lldb/trunk/lit/Unwind/prefer-debug-over-eh-frame.test

Modified: lldb/trunk/lit/Unwind/prefer-debug-over-eh-frame.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Unwind/prefer-debug-over-eh-frame.test?rev=361760&r1=361759&r2=361760&view=diff
==============================================================================
--- lldb/trunk/lit/Unwind/prefer-debug-over-eh-frame.test (original)
+++ lldb/trunk/lit/Unwind/prefer-debug-over-eh-frame.test Mon May 27 06:43:01 2019
@@ -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




More information about the lldb-commits mailing list