diff options
| author | Zachary Turner <zturner@google.com> | 2015-04-23 17:37:47 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-04-23 17:37:47 +0000 |
| commit | 6489d7b9490a0099ad1b0e5ba143591b4de71db3 (patch) | |
| tree | 8c4bf553b036e4e3fee3c1fed84fd326db7704c3 /llvm/tools/llvm-objdump | |
| parent | 5461d45abf940b51cfe97eaa0a7cf274d43cb394 (diff) | |
| download | bcm5719-llvm-6489d7b9490a0099ad1b0e5ba143591b4de71db3.tar.gz bcm5719-llvm-6489d7b9490a0099ad1b0e5ba143591b4de71db3.zip | |
Move DIContext.h to common DebugInfo location.
This will enable us to create a PDBContext so as to expose some
amount of debug info functionality through a common interace.
Differential Revision: http://reviews.llvm.org/D9205
Reviewed by: Alexey Samsonov
llvm-svn: 235612
Diffstat (limited to 'llvm/tools/llvm-objdump')
| -rw-r--r-- | llvm/tools/llvm-objdump/MachODump.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index a491a376861..4fa6495f87f 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -17,7 +17,8 @@ #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/Triple.h" #include "llvm/Config/config.h" -#include "llvm/DebugInfo/DWARF/DIContext.h" +#include "llvm/DebugInfo/DIContext.h" +#include "llvm/DebugInfo/DWARF/DWARFContext.h" #include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCContext.h" #include "llvm/MC/MCDisassembler.h" @@ -6115,7 +6116,7 @@ static void DisassembleMachO(StringRef Filename, MachOObjectFile *MachOOF, } // Setup the DIContext - diContext.reset(DIContext::getDWARFContext(*DbgObj)); + diContext.reset(new DWARFContextInMemory(*DbgObj)); } if (DumpSections.size() == 0) |

