[PATCH] D29362: Return Error instead of bool from mergeTypeStreams().

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 18:15:07 PST 2017


ruiu created this revision.

Previously, mergeTypeStreams returns only true or false, so it was
impossible to know the reason if it failed. This patch changes the
function signature so that it returns an Error object.


https://reviews.llvm.org/D29362

Files:
  lld/COFF/PDB.cpp
  llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
  llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29362.86545.patch
Type: text/x-patch
Size: 4017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/6d29d85e/attachment.bin>


More information about the llvm-commits mailing list