[LLVMdev] llvm compilation error on TOT

Guo, Xiaoyi Xiaoyi.Guo at amd.com
Thu Sep 15 15:24:19 PDT 2011


I just updated from the most recent svn ToT. I'm now getting the following compilation errors. Looks like DIIContext.h needs some includes. Does anyone else see this error also? Am I missing something?

In file included from DIContext.cpp:10:
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:27: error: 'uint32_t' does not name a type
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:28: error: 'uint32_t' does not name a type
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:30: error: 'uint32_t' has not been declared
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:30: error: 'uint32_t' has not been declared
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:34: error: 'uint32_t' does not name a type
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:35: error: 'uint32_t' does not name a type
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h: In constructor 'llvm::DILineInfo::DILineInfo(const char*, int, int)':
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:31: error: class 'llvm::DILineInfo' does not have any field named 'Line'
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:31: error: class 'llvm::DILineInfo' does not have any field named 'Column'
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h: At global scope:
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:52: error: 'uint64_t' has not been declared
In file included from DIContext.cpp:11:
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:52: warning: 'virtual llvm::DILineInfo llvm::DIContext::getLineInfoForAddress(int)' was hidden
DWARFContext.h:69: warning:   by 'virtual llvm::DILineInfo llvm::DWARFContext::getLineInfoForAddress(uint64_t)'
DIContext.cpp: In static member function 'static llvm::DIContext* llvm::DIContext::getDWARFContext(bool, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::StringRef)':
DIContext.cpp:23: error: cannot allocate an object of abstract type 'llvm::DWARFContextInMemory'
DWARFContext.h:88: note:   because the following virtual functions are pure within 'llvm::DWARFContextInMemory':
/extra/xguo/workspace/llvm/include/llvm/DebugInfo/DIContext.h:52: note:   virtual llvm::DILineInfo llvm::DIContext::getLineInfoForAddress(int)
/bin/rm: cannot remove `/extra/xguo/workspace/llvm/lib/DebugInfo/Debug+Asserts/DIContext.d.tmp': No such file or directory
make[2]: *** [/extra/xguo/workspace/llvm/lib/DebugInfo/Debug+Asserts/DIContext.o] Error 1

Xiaoyi





More information about the llvm-dev mailing list