aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Linker.h')
-rw-r--r--include/llvm/Linker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index 3667b85..4f37459 100644
--- a/include/llvm/Linker.h
+++ b/include/llvm/Linker.h
@@ -32,7 +32,9 @@ class Linker {
Linker(Module *M);
~Linker();
+
Module *getModule() const { return Composite; }
+ void deleteModule();
/// \brief Link \p Src into the composite. The source is destroyed if
/// \p Mode is DestroySource and preserved if it is PreserveSource.