aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode/BytecodeHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode/BytecodeHandler.h')
-rw-r--r--include/llvm/Bytecode/BytecodeHandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/BytecodeHandler.h b/include/llvm/Bytecode/BytecodeHandler.h
index 3d885e123f..e45266bb2c 100644
--- a/include/llvm/Bytecode/BytecodeHandler.h
+++ b/include/llvm/Bytecode/BytecodeHandler.h
@@ -116,6 +116,12 @@ public:
bool isThreadLocal ///< Whether the GV is thread local or not
) {}
+ virtual void handleGlobalAlias(
+ const Type* ElemType,
+ GlobalValue::LinkageTypes Linkage,
+ unsigned TypeSlotNum,
+ unsigned AliaseeSlot) { }
+
/// This method is called when a type list is recognized. It simply
/// provides the number of types that the list contains. The handler
/// should expect that number of calls to handleType.