diff options
author | Eric Christopher <echristo@gmail.com> | 2012-11-12 21:40:38 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-11-12 21:40:38 +0000 |
commit | 7370b55262f0878897a8fd3f1ecc4fd1a6fd8f65 (patch) | |
tree | 038b513cf50de39ed0b22fcbe9010b59a38abf6e /llvm/lib/DebugInfo/DIContext.cpp | |
parent | a0e5e54e8df318f1f2fd5c2a1811ec67a08eb484 (diff) | |
download | bcm5719-llvm-7370b55262f0878897a8fd3f1ecc4fd1a6fd8f65.tar.gz bcm5719-llvm-7370b55262f0878897a8fd3f1ecc4fd1a6fd8f65.zip |
Rewrite DIContext interface to take an object. Update all callers.
llvm-svn: 167757
Diffstat (limited to 'llvm/lib/DebugInfo/DIContext.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DIContext.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/llvm/lib/DebugInfo/DIContext.cpp b/llvm/lib/DebugInfo/DIContext.cpp index 6484abcfe82..49a44097d3e 100644 --- a/llvm/lib/DebugInfo/DIContext.cpp +++ b/llvm/lib/DebugInfo/DIContext.cpp @@ -13,15 +13,6 @@ using namespace llvm; DIContext::~DIContext() {} -DIContext *DIContext::getDWARFContext(bool isLittleEndian, - StringRef infoSection, - StringRef abbrevSection, - StringRef aRangeSection, - StringRef lineSection, - StringRef stringSection, - StringRef rangeSection, - const RelocAddrMap *Map) { - return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection, - aRangeSection, lineSection, stringSection, - rangeSection, Map); +DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) { + return new DWARFContextInMemory(Obj); } |