summaryrefslogtreecommitdiffstats
path: root/libunwind
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-07-12 18:24:38 +0000
committerNico Weber <nicolasweber@gmx.de>2019-07-12 18:24:38 +0000
commit13f7ddff17ba1f4c5a51c83af1c83cb501ad0653 (patch)
tree5b231a7ac4ff8a37b26d87895ff29c6e47e5363a /libunwind
parentdb8e36481a2189422e60b00b709dbfb684074fc4 (diff)
downloadbcm5719-llvm-13f7ddff17ba1f4c5a51c83af1c83cb501ad0653.tar.gz
bcm5719-llvm-13f7ddff17ba1f4c5a51c83af1c83cb501ad0653.zip
Slightly simplify MappedBlockStream::createIndexedStream() calls
All callers had a PDBFile object at hand, so call Pdb.createIndexedStream() instead, which pre-populates all the arguments (and returns nullptr for kInvalidStreamIndex). Also change safelyCreateIndexedStream() to only take the string index, and update callers. Make the method public and call it in two places that manually did the bounds checking before. No intended behavior change. Differential Revision: https://reviews.llvm.org/D64633 llvm-svn: 365936
Diffstat (limited to 'libunwind')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud