1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools/llvm-pdbutil
Nico Weber fb12a4dfa5 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
2019-07-12 18:24:38 +00:00
..
BytesOutputStyle.cpp Slightly simplify MappedBlockStream::createIndexedStream() calls 2019-07-12 18:24:38 +00:00
BytesOutputStyle.h
CMakeLists.txt
DumpOutputStyle.cpp Add explicit newline at end of llvm-pdbutil dump 2019-07-12 18:22:47 +00:00
DumpOutputStyle.h [pdb] Add -type-stats and sort stats by descending size 2019-03-22 21:22:13 +00:00
ExplainOutputStyle.cpp
ExplainOutputStyle.h
FormatUtil.cpp
FormatUtil.h
InputFile.cpp Recommit [Object] Change object::SectionRef::getContents() to return Expected<StringRef> 2019-05-16 13:24:04 +00:00
InputFile.h
LinePrinter.cpp Slightly simplify MappedBlockStream::createIndexedStream() calls 2019-07-12 18:24:38 +00:00
LinePrinter.h
llvm-pdbutil.cpp Slightly simplify MappedBlockStream::createIndexedStream() calls 2019-07-12 18:24:38 +00:00
llvm-pdbutil.h [pdb] Add -type-stats and sort stats by descending size 2019-03-22 21:22:13 +00:00
LLVMBuild.txt
MinimalSymbolDumper.cpp [COFF, ARM64] Add CodeView register mapping 2019-05-31 23:43:31 +00:00
MinimalSymbolDumper.h
MinimalTypeDumper.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
MinimalTypeDumper.h
OutputStyle.h
PdbYaml.cpp [COFF, ARM64] Add CodeView register mapping 2019-05-31 23:43:31 +00:00
PdbYaml.h
PrettyBuiltinDumper.cpp
PrettyBuiltinDumper.h
PrettyClassDefinitionDumper.cpp
PrettyClassDefinitionDumper.h
PrettyClassLayoutGraphicalDumper.cpp
PrettyClassLayoutGraphicalDumper.h
PrettyCompilandDumper.cpp
PrettyCompilandDumper.h
PrettyEnumDumper.cpp
PrettyEnumDumper.h
PrettyExternalSymbolDumper.cpp
PrettyExternalSymbolDumper.h
PrettyFunctionDumper.cpp [COFF, ARM64] Add CodeView register mapping 2019-05-31 23:43:31 +00:00
PrettyFunctionDumper.h
PrettyTypedefDumper.cpp
PrettyTypedefDumper.h
PrettyTypeDumper.cpp
PrettyTypeDumper.h
PrettyVariableDumper.cpp
PrettyVariableDumper.h
StreamUtil.cpp
StreamUtil.h
TypeReferenceTracker.cpp
TypeReferenceTracker.h
YAMLOutputStyle.cpp Slightly simplify MappedBlockStream::createIndexedStream() calls 2019-07-12 18:24:38 +00:00
YAMLOutputStyle.h