2019-02-09 07:15:42 +08:00
|
|
|
// RUN: rm -rf %t
|
2019-02-16 04:24:26 +08:00
|
|
|
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -fmodule-name=MainA \
|
2019-02-09 07:15:42 +08:00
|
|
|
// 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
|
|
|
|
|
2019-02-16 04:24:26 +08:00
|
|
|
#include "MainA/MainPriv.h"
|
2019-02-09 07:15:42 +08:00
|
|
|
|
|
|
|
// CHECK: !DICompileUnit
|
|
|
|
// CHECK-NOT: dwoId:
|
|
|
|
|
|
|
|
// We still want the import, but no skeleton CU, since no PCM was built.
|
|
|
|
|
2019-02-16 04:24:26 +08:00
|
|
|
// CHECK: !DIModule({{.*}}, name: "APriv"
|
2019-02-09 07:15:42 +08:00
|
|
|
// CHECK-NOT: !DICompileUnit
|
|
|
|
// CHECK-NOT: dwoId:
|