From fe8cb93148957b927a64a8a7047e5f9944a33ab7 Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Tue, 20 Dec 2016 08:48:51 +0000 Subject: [PATCH] Fix build with expensive checks enabled Include of llvm/IR/Verifier.h was removed from HexagonCommonGEP.cpp in r289604 as unused. In fact it is required when expensive checks are enabled, because it declared function `verifyFunction`, which is called in conditionally compiled part of the file. llvm-svn: 290170 --- llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp b/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp index 3c9b1ec..489da6b 100644 --- a/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp +++ b/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp @@ -27,6 +27,7 @@ #include "llvm/IR/Use.h" #include "llvm/IR/User.h" #include "llvm/IR/Value.h" +#include "llvm/IR/Verifier.h" #include "llvm/Pass.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/Casting.h" -- 2.7.4