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 | d1726a4580f3dc42e2debbfea41acb9e815c06be (patch) | |
tree | 7b93c655e87f7362272c5dbbf0367ffd2a1b59b8 /lib/DebugInfo/DIContext.cpp | |
parent | f4e3309e849dd0b89a39363c7f2fac337c6db81e (diff) | |
download | llvm-d1726a4580f3dc42e2debbfea41acb9e815c06be.tar.gz llvm-d1726a4580f3dc42e2debbfea41acb9e815c06be.tar.bz2 llvm-d1726a4580f3dc42e2debbfea41acb9e815c06be.tar.xz |
Rewrite DIContext interface to take an object. Update all callers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DIContext.cpp')
-rw-r--r-- | lib/DebugInfo/DIContext.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/DebugInfo/DIContext.cpp b/lib/DebugInfo/DIContext.cpp index 6484abcfe8..49a44097d3 100644 --- a/lib/DebugInfo/DIContext.cpp +++ b/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); } |