; Test to check the callgraph in summary ; RUN: opt -module-summary %s -o %t.o ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t.o ; RUN: llvm-bcanalyzer -dump %t.index.bc | FileCheck %s --check-prefix=COMBINED ; COMBINED: ; COMBINED-DAG: ; COMBINED-DAG: ; COMBINED-NEXT: ; COMBINED-NEXT: ; COMBINED-NEXT: ; COMBINED-NEXT: ; COMBINED-NEXT: source_filename = "/path/to/source.c" ; ModuleID = 'thinlto-function-summary-callgraph.ll' target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @bar = internal global i32 0 @fooalias = internal alias void (...), bitcast (void ()* @foo to void (...)*) define internal void @foo() { ret void }