[PATCH] D19940: Convert PDB error handling into using std::error_code instead of custom error codes

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 15:35:02 PDT 2016


zturner created this revision.
zturner added a reviewer: rnk.
zturner added a subscriber: llvm-commits.

This centralizes the message translation and also provides a more generic interoperability with other libraries that expect to use std error codes.

http://reviews.llvm.org/D19940

Files:
  include/llvm/DebugInfo/PDB/DIA/DIASession.h
  include/llvm/DebugInfo/PDB/Error.h
  include/llvm/DebugInfo/PDB/PDB.h
  include/llvm/DebugInfo/PDB/PDBTypes.h
  include/llvm/DebugInfo/PDB/Raw/RawSession.h
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/DIA/DIASession.cpp
  lib/DebugInfo/PDB/Error.cpp
  lib/DebugInfo/PDB/PDB.cpp
  lib/DebugInfo/PDB/Raw/DbiStream.cpp
  lib/DebugInfo/PDB/Raw/InfoStream.cpp
  lib/DebugInfo/PDB/Raw/NameHashTable.cpp
  lib/DebugInfo/PDB/Raw/NameMap.cpp
  lib/DebugInfo/PDB/Raw/PDBFile.cpp
  lib/DebugInfo/PDB/Raw/RawSession.cpp
  lib/DebugInfo/PDB/Raw/TpiStream.cpp
  lib/DebugInfo/Symbolize/Symbolize.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19940.56212.patch
Type: text/x-patch
Size: 38410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/a69b3705/attachment.bin>


More information about the llvm-commits mailing list