[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / inlined-low_pc.c
blobad48b599b7b6eb6d957fc724e17ef7ddca7b9d4a
1 /* Compiled with: clang -arch=arm64 -O2 -g -c inlined_low_pc.c */
3 static int foo(int i) { return 42 + i; }
4 int bar(int a) { return foo(a); }
6 // RUN: dsymutil -f -y %p/dummy-debug-map-amr64.map -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | llvm-dwarfdump - | FileCheck %s
8 // RUN: dsymutil --linker parallel -f -y %p/dummy-debug-map-amr64.map \
9 // RUN: -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | \
10 // RUN: llvm-dwarfdump - | FileCheck %s
12 // CHECK: DW_TAG_subprogram
13 // CHECK: DW_AT_low_pc{{.*}}0x0000000000010000
14 // CHECK: DW_AT_name{{.*}}"bar"
15 // CHECK-NOT: NULL
16 // CHECK: DW_TAG_inlined_subroutine
17 // CHECK-NEXT: DW_AT_abstract_origin{{.*}}"foo"
18 // CHECK-NEXT: DW_AT_low_pc{{.*}}0x0000000000010000