view clang/test/Modules/DebugInfo-fmodule-name.c @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -fmodule-name=MainA \
// RUN:     -debug-info-kind=limited -dwarf-ext-refs \
// RUN:     -fimplicit-module-maps -x c -fmodules-cache-path=%t -F %S/Inputs \
// RUN:     %s -S -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s

#include "MainA/MainPriv.h"

// CHECK: !DICompileUnit
// CHECK-NOT: dwoId:

// We still want the import, but no skeleton CU, since no PCM was built.

// CHECK: !DIModule({{.*}}, name: "APriv"
// CHECK-NOT: !DICompileUnit
// CHECK-NOT: dwoId: