1 ## This test checks that DIE name with stripped template parameters
2 ## is stored into .debug_name section.
4 ## cat dwarf5-accel.cpp
6 ## template<typename A> void foo() {};
13 ## $ clang -gdwarf-5 dwarf5-accel.cpp -c -o dwarf5-accel.o
15 #RUN: dsymutil -accelerator=Dwarf -oso-prepend-path %p/Inputs -y %s -o %t.dSYM
16 #RUN: llvm-dwarfdump --verify %t.dSYM | FileCheck %s --check-prefix VERIFY
17 #RUN: llvm-dwarfdump -a --verbose %t.dSYM | FileCheck %s
27 triple: 'x86_64-apple-darwin'
29 - filename: 'dwarf5-accel.o'
32 - { sym: _main, objAddr: 0x0000000000000000, binAddr: 0x0000000100000AB0, size: 0x00000008 }
33 - { sym: __Z3fooIcEvv, objAddr: 0x0000000000000020, binAddr: 0x0000000100000BB0, size: 0x00000008 }