summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/SmallStringTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-08-21 11:30:48 +0000
committerPavel Labath <pavel@labath.sk>2019-08-21 11:30:48 +0000
commit82275ec51d00c33316506054faebb1033a9b7690 (patch)
tree42254a4530c1855aeff5823f97816001369f9f49 /llvm/unittests/ADT/SmallStringTest.cpp
parenta50f115d3673c73cd64e388ab3d2151c7f6e396f (diff)
downloadbcm5719-llvm-82275ec51d00c33316506054faebb1033a9b7690.tar.gz
bcm5719-llvm-82275ec51d00c33316506054faebb1033a9b7690.zip
MinidumpYAML: move serialization code to MinidumpEmitter.cpp
Summary: The code for serializing minidumps was living in MinidumpYAML.cpp so that it would be accessible from unit tests. While this had its advantages, it was also unfortunate because it broke symmetry with all other yaml2obj serializers. Fortunately, nowadays all of yaml2obj is a library, so we don't need to do anything special. This patch improves the code consistency by moving the serialization code to MinidumpEmitter.cpp to match the style used in other backends. It also removes the writeAsBinary entry point in favor of the more general convertYAML interface. This patch is just massaging the code a bit. There shouldn't be any functional change here. Reviewers: jhenderson, abrachet Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66474 llvm-svn: 369517
Diffstat (limited to 'llvm/unittests/ADT/SmallStringTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud