1RUN: rm -rf %t 2REQUIRES: x86-registered-target 3 4RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen/foo.modulemap -o %t/foo.pcm 5 6RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -o - %t/foo.pcm | FileCheck %s 7 8CHECK: $_Z2f1PKcz = comdat any 9CHECK: define weak_odr void @_Z2f1PKcz(i8* %fmt, ...) #{{[0-9]+}} comdat 10CHECK: call void @llvm.va_start(i8* %{{[a-zA-Z0-9]*}}) 11