xref: /llvm-project/clang/test/CodeGen/debug-prefix-map.cpp (revision ea6ecdbfe09d4318f2d616af794e2930f996e393)
1 // RUN: %clang_cc1 -debug-info-kind=standalone -fdebug-prefix-map=%p=./UNLIKELY_PATH/empty -S %s -emit-llvm -o - | FileCheck %s
2 
3 struct alignas(64) an {
4   struct {
5     unsigned char x{0};
6   } arr[64];
7 };
8 
9 struct an *pan = new an;
10 
11 // CHECK: !DISubprogram(name: "(unnamed struct at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}",
12