[PDB] Check the result of setLoadAddress()
authorAaron Smith <aaron.smith@microsoft.com>
Fri, 23 Feb 2018 00:02:27 +0000 (00:02 +0000)
committerAaron Smith <aaron.smith@microsoft.com>
Fri, 23 Feb 2018 00:02:27 +0000 (00:02 +0000)
commit89a19ac38d377e880b26dfacf968951fa4108a8f
tree68239f67bd03a9b00cc806378349f818cdf2c537
parentba02f3f2423ce5a2637e3b45298f9d016da7aca7
[PDB] Check the result of setLoadAddress()

Summary: Change setLoadAddress() to return true or false on failure.

Reviewers: zturner, llvm-commits

Reviewed By: zturner

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

llvm-svn: 325843
llvm/include/llvm/DebugInfo/PDB/DIA/DIASession.h
llvm/include/llvm/DebugInfo/PDB/IPDBSession.h
llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp