diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-12-29 09:24:39 +0000 | 
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-12-29 09:24:39 +0000 | 
| commit | e0115344e6d3520be618bcb93980a0a1cf7b0e06 (patch) | |
| tree | f07c75f867197b11f8782bf847e0d269d1cd45b1 /llvm/lib/CodeGen | |
| parent | 388235fe857298dafe4f510a790652b17f3e40c4 (diff) | |
| download | bcm5719-llvm-e0115344e6d3520be618bcb93980a0a1cf7b0e06.tar.gz bcm5719-llvm-e0115344e6d3520be618bcb93980a0a1cf7b0e06.zip | |
[ptr-traits] Sink a constructor definition to the .cpp file and add
missing includes so that the pointee types for DenseMap pointer keys and
such are complete prior to us querying the pointer traits for them.
This is part of a series of patches to allow LLVM to check for complete
pointee types when computing its pointer traits. This is absolutely
necessary to get correct (or reproducible) results for things like how
many low bits are guaranteed to be zero.
llvm-svn: 256550
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index dc9f78f006a..52fb922c935 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -20,7 +20,9 @@  #include "llvm/ADT/MapVector.h"  #include "llvm/Analysis/CFG.h"  #include "llvm/Analysis/EHPersonalities.h" +#include "llvm/CodeGen/MachineBasicBlock.h"  #include "llvm/CodeGen/WinEHFuncInfo.h" +#include "llvm/MC/MCSymbol.h"  #include "llvm/Pass.h"  #include "llvm/Support/Debug.h"  #include "llvm/Support/raw_ostream.h" @@ -1078,3 +1080,5 @@ void WinEHFuncInfo::addIPToStateRange(const InvokeInst *II,           "should get invoke with precomputed state");    LabelToStateMap[InvokeBegin] = std::make_pair(InvokeStateMap[II], InvokeEnd);  } + +WinEHFuncInfo::WinEHFuncInfo() {} | 

