We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bda9d commit 914916aCopy full SHA for 914916a
llvm/lib/Transforms/Utils/CloneModule.cpp
@@ -13,8 +13,10 @@
13
14
#include "llvm/IR/DerivedTypes.h"
15
#include "llvm/IR/Module.h"
16
+#include "llvm/Support/Compiler.h"
17
#include "llvm/Transforms/Utils/Cloning.h"
18
#include "llvm/Transforms/Utils/ValueMapper.h"
19
+
20
using namespace llvm;
21
22
namespace llvm {
@@ -216,8 +218,7 @@ std::unique_ptr<Module> llvm::CloneModule(
216
218
217
219
extern "C" {
220
-LLVMModuleRef LLVMCloneModule(LLVMModuleRef M) {
221
+LLVM_ABI LLVMModuleRef LLVMCloneModule(LLVMModuleRef M) {
222
return wrap(CloneModule(*unwrap(M)).release());
223
}
-
224
0 commit comments