The llvm::ELFWriter::EmitGlobal() method is calling the
authorBill Wendling <isanbard@gmail.com>
Sun, 4 Jan 2009 01:47:14 +0000 (01:47 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 4 Jan 2009 01:47:14 +0000 (01:47 +0000)
commit64f03003a1cf9fb8f8b068da7fa66a58e86ad390
tree3229e29856c241c807a86e6d0c9a1243463edae1
parent723a59c17eecad082f0c734d29553a5d392c24b2
The llvm::ELFWriter::EmitGlobal() method is calling the
llvm::PATypeHolder::get() method when LLVM is self-hosted in Release
mode. Before the parser changed, there was a definition of llvm::PAHolder::get()
in llvmAsmParser.y. This was probably a bug that no-one noticed.

Explicitly #include the Type.h file as a temporary fix for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61620 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ELFWriter.cpp