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

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 15:43:05 PDT 2016


If you like, you might want to consider the recently introduced llvm::Error
which has more checking to ensure errors aren't accidentally
ignored/dropped.

On Wed, May 4, 2016 at 3:35 PM, Zachary Turner via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/d0fae971/attachment.html>


More information about the llvm-commits mailing list