mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 23:52:45 +00:00
89061b2224
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 = !{}
|