================ @@ -0,0 +1,33 @@ +; This checks that .debug_aranges is always generated for the SCE debugger +; tuning. + +; RUN: llc -mtriple=x86_64 -debugger-tune=sce -filetype=obj %s -o %t +; RUN: llvm-dwarfdump -debug-aranges %t | FileCheck %s + +; CHECK: .debug_aranges contents: +; CHECK-NEXT: Address Range Header: +; CHECK-SAME: length = 0x0000002c, + +; IR generated and reduced from: +; $ cat foo.c +; int foo; +; $ clang -g -S -emit-llvm foo.c -o foo.ll + +target triple = "x86_64-unknown-linux-gnu" ---------------- pogo59 wrote:
This is redundant with the explicit triple on the llc command line. https://github.com/llvm/llvm-project/pull/100160 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits