mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
669be17384
This provides the correct file path for the original source, rather than the preprocessed source. Part of the fix for PR41839. Differential Revision: https://reviews.llvm.org/D62074 llvm-svn: 361248
22 lines
574 B
ArmAsm
22 lines
574 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -g -dwarf-version 4 -o %t %s
|
|
// RUN: llvm-dwarfdump -debug-info -debug-line %t | FileCheck %s
|
|
|
|
// CHECK: DW_TAG_compile_unit
|
|
// CHECK-NOT: DW_TAG_
|
|
// CHECK: DW_AT_name ("/MyTest/Inputs{{(/|\\)+}}other.S")
|
|
// CHECK: DW_TAG_label
|
|
// CHECK-NOT: DW_TAG_
|
|
// CHECK: DW_AT_decl_file ("/MyTest/Inputs{{(/|\\)+}}other.S")
|
|
|
|
// CHECK: include_directories[ 1] = "/MyTest/Inputs"
|
|
// CHECK: file_names[ 1]:
|
|
// CHECK-NEXT: name: "other.S"
|
|
// CHECK-NEXT: dir_index: 1
|
|
|
|
# 1 "/MyTest/Inputs/other.S"
|
|
|
|
foo:
|
|
nop
|
|
nop
|
|
nop
|