OSDN Git Service

Re-submit r283823: Define DbiStreamBuilder::addDbgStream to add stream.
authorRui Ueyama <ruiu@google.com>
Tue, 11 Oct 2016 19:43:12 +0000 (19:43 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 11 Oct 2016 19:43:12 +0000 (19:43 +0000)
commita85b2437946d676e6d0f93e208a0ada24394c682
tree954cff203462292f265ceb1f42d01ccc37053d2b
parent21fcbebddd90f7310c719e329b84f10fd7396e24
Re-submit r283823: Define DbiStreamBuilder::addDbgStream to add stream.

The previous commit was failing because we filled empty slots of
the debug stream index with kInvalidStreamIndex. It should've been 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283925 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp