brintos

brintos / llvm-project-archived public Read only

0
0
Text · 673 B · a613fbf Raw
13 lines · plain
1// Run cc1as with debug on empty file. Needs a known name so we can check it.2// REQUIRES: x86-registered-target3// RUN: rm -rf %t && mkdir -p %t4// RUN: cp %s %t/comment.s5// RUN: %clang -cc1as -triple x86_64-linux-gnu -filetype asm -debug-info-kind=limited -dwarf-version=4 %t/comment.s | FileCheck %s6// RUN: %clang -cc1as -triple x86_64-linux-gnu -filetype asm -debug-info-kind=limited -dwarf-version=5 %t/comment.s | FileCheck %s7// Asm output actually emits the .section directives twice.8// CHECK: {{\.}}section .debug_info9// CHECK: {{\.}}section .debug_info10// CHECK-NOT: {{\.}}section11// Look for this as a relative path.12// CHECK: .ascii "{{[^\\/].*}}comment.s"13