[PATCH] D63828: Add FileWriter to GSYM and encode/decode functions to AddressRange and AddressRanges
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 15:23:20 PDT 2019
clayborg updated this revision to Diff 206952.
clayborg added a comment.
Added llvm::Error as a member variable of FileWriter. Each method that does anything with the stream will check if there is an error and return if the FileWriter has encountered an error. Added:
llvm::Error FileWriter::takeError();
To allow clients to check errors after a series of method calls on FileWriter objects. The error must be checked or taken before the FileWriter object destructs.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63828/new/
https://reviews.llvm.org/D63828
Files:
include/llvm/DebugInfo/GSYM/FileWriter.h
include/llvm/DebugInfo/GSYM/Range.h
lib/DebugInfo/GSYM/CMakeLists.txt
lib/DebugInfo/GSYM/FileWriter.cpp
lib/DebugInfo/GSYM/Range.cpp
unittests/DebugInfo/GSYM/GSYMTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63828.206952.patch
Type: text/x-patch
Size: 16367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/05324213/attachment.bin>
More information about the llvm-commits
mailing list