From 2558d3e34b4e0a47a1fe224683604ddaec96f69c Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Fri, 11 Jan 2019 14:39:47 +0000 Subject: Use debugging information from newer LLVM versions --- lib/Module/KModule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Module/KModule.cpp') diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp index 9cd46798..f4b71208 100644 --- a/lib/Module/KModule.cpp +++ b/lib/Module/KModule.cpp @@ -427,7 +427,8 @@ static int getOperandNum(Value *v, return a->getArgNo(); #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 6) // Metadata is no longer a Value - } else if (isa(v) || isa(v)) { + } else if (isa(v) || isa(v) || + isa(v)) { #else } else if (isa(v) || isa(v) || isa(v)) { -- cgit 1.4.1