Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ LD_EXTRAS := ns1.o ns2.o ns3.o ns4.o
a.out: main.o ns1.o ns2.o ns3.o ns4.o

ns1.o: common.cpp
$(CC) -gdwarf -c -DNAMESPACE=ns1 -o $@ $<
$(CXX) -gdwarf -c -DNAMESPACE=ns1 -o $@ $<

ns2.o: common.cpp
$(CC) -gdwarf -c -DNAMESPACE=ns2 -o $@ $<
$(CXX) -gdwarf -c -DNAMESPACE=ns2 -o $@ $<

ns3.o: common.cpp
$(CC) -gdwarf -c -DNAMESPACE=ns3 -o $@ $<
$(CXX) -gdwarf -c -DNAMESPACE=ns3 -o $@ $<

ns4.o: common.cpp
$(CC) -gdwarf -c -DNAMESPACE=ns4 -o $@ $<
$(CXX) -gdwarf -c -DNAMESPACE=ns4 -o $@ $<


include Makefile.rules
4 changes: 2 additions & 2 deletions lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# JITLink is the Orc-specific JIT linker implementation.
#
# RUN: %clang -g -S -emit-llvm -fPIC --target=x86_64-unknown-unknown-elf \
# RUN: -o %t.ll %p/Inputs/jitbp.cpp
# RUN: %clangxx -g -S -emit-llvm -fPIC --target=x86_64-unknown-unknown-elf \
# RUN: -o %t.ll %p/Inputs/jitbp.cpp
# RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' \
# RUN: -o 'run --jit-linker=jitlink %t.ll' lli | FileCheck %s

Expand Down
4 changes: 2 additions & 2 deletions lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# RuntimeDyld can be used to link and load emitted code for both, MCJIT and Orc.
#
# RUN: %clang -g -S -emit-llvm --target=x86_64-unknown-unknown-elf \
# RUN: -o %t.ll %p/Inputs/jitbp.cpp
# RUN: %clangxx -g -S -emit-llvm --target=x86_64-unknown-unknown-elf \
# RUN: -o %t.ll %p/Inputs/jitbp.cpp
#
# RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' \
# RUN: -o 'run --jit-kind=mcjit %t.ll' lli | FileCheck %s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Test AST dumping with and without color.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Commands/command-image-dump-ast.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# UNSUPPORTED: system-windows

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
8 changes: 4 additions & 4 deletions lldb/test/Shell/Commands/list-header.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# XFAIL: target-windows

## Test that `list header.h:<line>` works correctly when header is available.
##
##
# RUN: split-file %s %t

# RUN: %clang_host -g %t/main_with_inlined.cc %t/foo.cc -o %t/main_with_inlined.out
# RUN: %clang_host -g %t/main_no_inlined.cc %t/foo.cc -o %t/main_no_inlined.out
# RUN: %clangxx_host -g %t/main_with_inlined.cc %t/foo.cc -o %t/main_with_inlined.out
# RUN: %clangxx_host -g %t/main_no_inlined.cc %t/foo.cc -o %t/main_no_inlined.out

# RUN: %lldb %t/main_with_inlined.out -o "list foo.h:2" -o "exit" 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-INLINED
Expand All @@ -19,7 +19,7 @@

# CHECK-INLINED: 2 extern int* ptr;
# CHECK-INLINED: 3 void f(int x);
# CHECK-INLINED: 4
# CHECK-INLINED: 4
# CHECK-INLINED: 5 inline void g(int x) {
# CHECK-INLINED: 6 *ptr = x; // should crash here
# CHECK-INLINED: 7 }
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Error/cleanup.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Test CommandObject is cleaned up even after commands fail due to not taking any argument.
// RUN: %clang_host -g %s -o %t
// RUN: %clangxx_host -g %s -o %t
// RUN: %lldb -f %t -o "settings set interpreter.stop-command-source-on-error false" -s \
// RUN: %S/Inputs/cleanup.lldbinit
int main() { return 0; }
2 changes: 1 addition & 1 deletion lldb/test/Shell/Expr/TestExprLanguageNote.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# RUN: split-file %s %t
# RUN: %clang_host -g %t/main.cpp -o %t.out
# RUN: %clangxx_host -g %t/main.cpp -o %t.out
#
# RUN: %lldb -x -b -o "settings set interpreter.stop-command-source-on-error false" \
# RUN: -s %t/no-target.input 2>&1 | FileCheck %s --check-prefix=CHECK-NO-TARGET
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Expr/TestLambdaExprImport.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# uses always).

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \
# RUN: -x -b -s %t/commands.input %t.out 2>&1 \
# RUN: | FileCheck %s
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/ObjectFile/ELF/elf-memory.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// - verify that "image dump objfile" will dump the dynamic section of the
// memory elf file and find the .dynamic string table.

// RUN: %clang_host %p/Inputs/memory-elf.cpp -g -O0 -o %t
// RUN: %clangxx_host %p/Inputs/memory-elf.cpp -g -O0 -o %t

// RUN: %lldb %t -b \
// RUN: -o "b main" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback-user-leaf.cpp -o %t.out
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback-user-leaf.cpp -o %t.out
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK

run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback.cpp -o %t.out
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-callback.cpp -o %t.out
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK

run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-max-depth.cpp -o %t.out
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-max-depth.cpp -o %t.out
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK

run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl-nested.cpp -o %t.out
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl-nested.cpp -o %t.out
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK

run
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Recognizer/verbose_trap-in-stl.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap-in-stl.cpp -o %t.out
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap-in-stl.cpp -o %t.out
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK

run
Expand Down
8 changes: 4 additions & 4 deletions lldb/test/Shell/Recognizer/verbose_trap.test
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# UNSUPPORTED: system-windows
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\"
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\"
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-BOTH
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\"
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"Bar\"
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-MESSAGE_ONLY
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\"
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"Foo\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\"
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-CATEGORY_ONLY
#
# RUN: %clang_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\"
# RUN: %clangxx_host -g -O0 %S/Inputs/verbose_trap.cpp -o %t.out -DVERBOSE_TRAP_TEST_CATEGORY=\"\" -DVERBOSE_TRAP_TEST_MESSAGE=\"\"
# RUN: %lldb -b -s %s %t.out | FileCheck %s --check-prefixes=CHECK,CHECK-NONE

run
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Settings/TestChildCountTruncation.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# when target.max-children-count wasn't explicitly set.

# RUN: split-file %s %t
# RUN: %clang_host -g %t/main.cpp -o %t.out
# RUN: %clangxx_host -g %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/dwim-commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s --check-prefix=DWIM
#
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Settings/TestChildDepthTruncation.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# when target.max-children-depth wasn't explicitly set.

# RUN: split-file %s %t
# RUN: %clang_host -g %t/main.cpp -o %t.out
# RUN: %clangxx_host -g %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/dwim-commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s --check-prefix=DWIM
#
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Settings/TestCxxFrameFormat.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Test the plugin.cplusplus.display.function-name-format setting.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Settings/TestCxxFrameFormatEmpty.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ${function.name-with-args}.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
12 changes: 6 additions & 6 deletions lldb/test/Shell/Settings/TestCxxFrameFormatMixedLanguages.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# when interoperating multiple languages.

# RUN: split-file %s %t
# RUN: %clangxx_host -x c -c -g %t/lib.c -o %t.clib.o
# RUN: %clang_host -x c -c -g %t/lib.c -o %t.clib.o
# RUN: %clangxx_host -c -g %t/lib.cpp -o %t.cxxlib.o
# RUN: %clangxx_host %t/main.m %t.cxxlib.o %t.clib.o -o %t.out
# RUN: %clang_host %t/main.m %t.cxxlib.o %t.clib.o -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 | FileCheck %s

#--- lib.c
Expand Down Expand Up @@ -47,7 +47,7 @@ break set -n method
run
bt

# CHECK: custom-frame 'this affects C++ only'
# CHECK: custom-frame 'this affects C++ only'
# CHECK: custom-frame 'func'
# CHECK: custom-frame 'main'
# CHECK: custom-frame 'this affects C++ only'
# CHECK: custom-frame 'this affects C++ only'
# CHECK: custom-frame 'func'
# CHECK: custom-frame 'main'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# were successful.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Test the ${function.basename} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Test the ${function.formatted-arguments} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s --check-prefix=CHECK-NODEBUG

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Test the ${function.qualifiers} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
4 changes: 2 additions & 2 deletions lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# frame-format variables.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
4 changes: 2 additions & 2 deletions lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Test the ${function.scope} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Test the ${function.suffix} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Test the ${function.template-arguments} frame-format variable.

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s
#
# RUN: %clang_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %clangxx_host -O0 %t/main.cpp -o %t-nodebug.out
# RUN: %lldb -x -b -s %t/commands.input %t-nodebug.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion lldb/test/Shell/Settings/TestFrameFunctionInlined.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# REQUIRES: (system-windows && lld) || !system-windows

# RUN: split-file %s %t
# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out %if system-windows %{-fuse-ld=lld%}
# RUN: %clangxx_host -g -gdwarf %t/main.cpp -o %t.out %if system-windows %{-fuse-ld=lld%}
# RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \
# RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

// UNSUPPORTED: system-darwin, system-windows

// RUN: %clang_host -c -gsplit-dwarf -g %s -o %t1.o -DONE
// RUN: %clang_host -c -gsplit-dwarf -g %s -o %t2.o -DTWO
// RUN: %clang_host -c -gsplit-dwarf -g %s -o %t3.o -DTHREE
// RUN: %clang_host %t1.o %t2.o %t3.o -o %t
// RUN: %clangxx_host -c -gsplit-dwarf -g %s -o %t1.o -DONE
// RUN: %clangxx_host -c -gsplit-dwarf -g %s -o %t2.o -DTWO
// RUN: %clangxx_host -c -gsplit-dwarf -g %s -o %t3.o -DTHREE
// RUN: %clangxx_host %t1.o %t2.o %t3.o -o %t
// RUN: %lldb %t -o "br set -n foo" -o run -o "expression bool_in_first_cu" -o exit \
// RUN: | FileCheck %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Test that we use the apple indexes.
// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx -gdwarf-4
// RUN: %clangxx %s -g -c -o %t --target=x86_64-apple-macosx -gdwarf-4
// RUN: lldb-test symbols %t | FileCheck %s

// CHECK: .apple_names index present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// REQUIRES: lld, zlib

// RUN: %clang -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames %s
// RUN: %clangxx -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames %s
// RUN: ld.lld %t.o -o %t --compress-debug-sections=zlib
// RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix NAMES
// RUN: lldb-test symbols --find=variable --name=foo %t | FileCheck %s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// REQUIRES: lld

// RUN: %clang %s -target x86_64-pc-linux -gdwarf-5 -fdebug-types-section \
// RUN: %clangxx %s -target x86_64-pc-linux -gdwarf-5 -fdebug-types-section \
// RUN: -gpubnames -fno-limit-debug-info -c -o %t.o
// RUN: ld.lld %t.o -o %t
// RUN: %lldb %t -o "type lookup stype" -b | FileCheck %s --check-prefix=BASE
Expand Down
Loading
Loading