[NativePDB] Fix access to both old & new fpo data entries from dbi stream
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Wed, 30 Jan 2019 10:40:45 +0000 (10:40 +0000)
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Wed, 30 Jan 2019 10:40:45 +0000 (10:40 +0000)
commitd17f6ab61b2492cdf5c1c88c36915456206f84fe
treea5bb8b0e385b8eea656be1ce7c681643045265e5
parenta8ac9abe6c1e07c5d0207c6da687bd574a4ddf0d
[NativePDB] Fix access to both old & new fpo data entries from dbi stream

Summary:
This patch fixes access to fpo streams in native pdb from DbiStream and makes
code consistent with DbiStreamBuilder.

Patch By: leonid.mashinskiy

Reviewers: zturner, aleksandr.urakov

Reviewed By: zturner

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D56725

llvm-svn: 352615
llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h
llvm/lib/DebugInfo/PDB/Native/DbiStream.cpp
llvm/test/tools/llvm-pdbdump/Inputs/FPOTest.pdb [new file with mode: 0644]
llvm/test/tools/llvm-pdbdump/fpo-data.test [new file with mode: 0644]
llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp