From 8c3fbdc6c4649f8c3c018cf32be4407c672e574c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 23 Aug 2016 22:08:27 +0000 Subject: Revert r279564. It introduces undefined behavior (binding a reference to a dereferenced null pointer) in MachineModuleInfo::MachineModuleInfo that causes -Werror builds (including several buildbots) to fail. llvm-svn: 279580 --- llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp') diff --git a/llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp b/llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp index 86dab766508..9da22db505e 100644 --- a/llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp +++ b/llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp @@ -17,6 +17,7 @@ #include "llvm/CodeGen/LivePhysRegs.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineFunction.h" +#include "llvm/CodeGen/MachineFunctionAnalysis.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/Passes.h" #include "llvm/Support/CommandLine.h" -- cgit v1.2.3