Add streaming/equality operators to DWARFAddressRange/DWARFLocationExpression
authorPavel Labath <pavel@labath.sk>
Tue, 19 Nov 2019 08:55:17 +0000 (09:55 +0100)
committerPavel Labath <pavel@labath.sk>
Tue, 19 Nov 2019 09:34:30 +0000 (10:34 +0100)
commit39285a0f02c7bc5e4bad8a684a900123b097511d
tree6b14401600399599c216ead35018b2bd1c20d1dc
parentc0fc29c4684a997d282bfed71eb4d903ad16ee25
Add streaming/equality operators to DWARFAddressRange/DWARFLocationExpression

The main motivation for this is being able to write simpler assertions
and get better error messages in unit tests.

Split off from D70394.
llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h
llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
llvm/lib/DebugInfo/DWARF/CMakeLists.txt
llvm/lib/DebugInfo/DWARF/DWARFLocationExpression.cpp [new file with mode: 0644]
llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
llvm/unittests/DebugInfo/DWARF/DWARFLocationExpressionTest.cpp [new file with mode: 0644]