]> granicus.if.org Git - llvm/commitdiff
[DebugInfo] - Attemp to fix BB after r310915.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 15 Aug 2017 13:26:12 +0000 (13:26 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 15 Aug 2017 13:26:12 +0000 (13:26 +0000)
Not sure what BB does not like.

While building module 'LLVM_DebugInfo_DWARF' imported from /home/buildbot/modules-slave-2/clang-x86_64-linux-selfhost-modules-2/llvm.src/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp:10:
In file included from <module-includes>:7:
In file included from /home/buildbot/modules-slave-2/clang-x86_64-linux-selfhost-modules-2/llvm.src/include/llvm/DebugInfo/DWARF/DWARFContext.h:29:
/home/buildbot/modules-slave-2/clang-x86_64-linux-selfhost-modules-2/llvm.src/include/llvm/DebugInfo/DWARF/DWARFObject.h:30:17: error: declaration of 'object' must be imported from module 'LLVM_Object.Decompressor' before it is required
  virtual const object::ObjectFile *getFile() const { return nullptr; }
                ^
/home/buildbot/modules-slave-2/clang-x86_64-linux-selfhost-modules-2/llvm.src/include/llvm/Object/Decompressor.h:18:11: note: previous declaration is here
namespace object {

http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules-2/builds/10766

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310918 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/DWARF/DWARFObject.h

index 1171b7e1f763d882fdd0b33ee3209cfd522f6437..bbe287f102d61b9a80c351fecf38e1441f792fc6 100644 (file)
@@ -11,6 +11,7 @@
 #define LLVM_DEBUGINFO_DWARF_DWARFOBJECT_H
 
 #include "llvm/DebugInfo/DWARF/DWARFSection.h"
+#include "llvm/Object/ObjectFile.h"
 
 namespace llvm {
 // This is responsible for low level access to the object file. It