tools: refactor COFFDumper symbol resolution logic
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:37 +0000 (20:26 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 25 May 2014 20:26:37 +0000 (20:26 +0000)
commitec944ceaf5eeb4b16bf1798dc958c0d90090e52f
tree929d5a67c0d539e2fb680eaa54032c84d44ecf65
parent12d17f4375df43c6d3ca16dfb7bfe2accbc9d4d4
tools: refactor COFFDumper symbol resolution logic

Make the use of the cache more transparent to the users.  There is no reason
that the cached entries really need to be passed along.  The overhead for doing
so is minimal: a single extra parameter.  This requires that some standalone
functions be brought into the COFFDumper class so that they may access the
cache.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209604 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/COFFDumper.cpp