1 // Test that the file names in the __debug_line_str section can be decoded.
2
3 // REQUIRES: system-darwin
4
5 // RUN: %clang -target x86_64-apple-darwin %s -c -o %t.o -gdwarf-5
6 // RUN: llvm-readobj --sections %t.o | FileCheck %s --check-prefix NAMES
7 // RUN: xcrun %clang -target x86_64-apple-darwin -o %t.exe %t.o
8 // RUN: %lldb %t.exe -b -o "target modules dump line-table %s" | FileCheck %s
9
10 // NAMES: Name: __debug_line_str
11
main(int argc,char ** argv)12 int main(int argc, char **argv) {
13 // CHECK: dwarf5-macho.c:[[@LINE+1]]
14 return 0;
15 }
16