bolt/deps/llvm-18.1.8/clang/test/Modules/getSourceDescriptor-crash.cpp

11 lines
381 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: rm -rf %t
// RUN: %clang_cc1 -I %S/Inputs/getSourceDescriptor-crash -S -emit-llvm -debug-info-kind=limited -debugger-tuning=lldb -fmodules -fmodules-cache-path=%t -fimplicit-module-maps %s -o - | FileCheck %s
#include "h1.h"
#include "h1.h"
// CHECK: DIImportedEntity
// CHECK-SAME: entity: ![[ENTITY:[0-9]+]]
// CHECK: ![[ENTITY]] = !DIModule
// CHECK-SAME: name: "foo"