[PATCH] Make getUnitForOffset a DWARFUnit method instead of a DWARFContext method.
Frederic Riss
friss at apple.com
Fri Sep 12 07:53:50 PDT 2014
Rewrite the patch according to Alexey's comments.
This patch introduces the DWARFUnitSection abstraction that is a collection
of units with a generic base class allowing to query for the Unit containing
a certain offset.
This patch should induce no functional change.
http://reviews.llvm.org/D5310
Files:
lib/DebugInfo/DWARFCompileUnit.h
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFContext.h
lib/DebugInfo/DWARFTypeUnit.h
lib/DebugInfo/DWARFUnit.cpp
lib/DebugInfo/DWARFUnit.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5310.13635.patch
Type: text/x-patch
Size: 9689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140912/6a416f10/attachment.bin>
More information about the llvm-commits
mailing list