mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 05:56:06 +00:00

The new metadata is easier to manipulate than module flags. Differential Revision: https://reviews.llvm.org/D31349 llvm-svn: 305227
7 lines
344 B
C
7 lines
344 B
C
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fmodule-name=Clib %s -I %S/Inputs/module-impl-with-link -emit-llvm -o - | FileCheck %s
|
|
#include "foo.h"
|
|
// Make sure we don't generate linker option for module Clib since this TU is
|
|
// an implementation of Clib.
|
|
// CHECK: !llvm.linker.options = !{}
|