aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-prefix-map.cpp
blob: 174bef5a076990c5db98dbb2f9a6454ec8cbc499 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -debug-info-kind=standalone -fdebug-prefix-map=%p=./UNLIKELY_PATH/empty %s -emit-llvm -o - | FileCheck %s

struct alignas(64) an {
  struct {
    unsigned char x{0};
  } arr[64];
};

struct an *pan = new an;

// CHECK: !DISubprogram(name: "(unnamed struct at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}",