mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -16,7 +16,8 @@
|
||||
#include "IntelJITEventsWrapper.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/ExecutionEngine/JITEventListener.h"
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
#include "llvm/IR/Function.h"
|
||||
@ -102,7 +103,7 @@ void IntelJITEventListener::NotifyObjectEmitted(
|
||||
|
||||
// Get the address of the object image for use as a unique identifier
|
||||
const void* ObjData = DebugObj.getData().data();
|
||||
DIContext* Context = DIContext::getDWARFContext(DebugObj);
|
||||
DIContext* Context = new DWARFContextInMemory(DebugObj);
|
||||
MethodAddressVector Functions;
|
||||
|
||||
// Use symbol info to iterate functions in the object.
|
||||
|
Reference in New Issue
Block a user