brintos

brintos / llvm-project-archived public Read only

0
0
Text · 519 B · 1bc0722 Raw
16 lines · c
1// Test that the file names in the __debug_line_str section can be decoded.2 3// REQUIRES: system-darwin4 5// RUN: %clang_host -target x86_64-apple-darwin %s -c -o %t.o -gdwarf-56// RUN: llvm-readobj --sections %t.o | FileCheck %s --check-prefix NAMES7// RUN: xcrun %clang_host -target x86_64-apple-darwin -o %t.exe %t.o8// RUN: %lldb %t.exe -b -o "target modules dump line-table %s" | FileCheck %s9 10// NAMES: Name: __debug_line_str11 12int main(int argc, char **argv) {13  // CHECK: dwarf5-macho.c:[[@LINE+1]]14  return 0;15}16