From: George Rimar Date: Tue, 15 Aug 2017 13:26:12 +0000 (+0000) Subject: [DebugInfo] - Attemp to fix BB after r310915. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6854d8cdd02a5321a709b722582a3c1cc8c8fa00;p=llvm [DebugInfo] - Attemp to fix BB after r310915. 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 :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 --- diff --git a/include/llvm/DebugInfo/DWARF/DWARFObject.h b/include/llvm/DebugInfo/DWARF/DWARFObject.h index 1171b7e1f76..bbe287f102d 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFObject.h +++ b/include/llvm/DebugInfo/DWARF/DWARFObject.h @@ -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