[PATCH] Add DWARFFormValue::getAsSignedConstant().

Frederic Riss friss at apple.com
Mon Oct 6 12:13:04 PDT 2014


Hi dblaikie,

This will be used to dump some attributes in a natural (decimal) form.

It's not easy to come up with some code that would generate signed entities
in all the supported forms, thus I'm adding a unittest for the functionality.
Most of the test is actually boilerplate dummy objects that are required to
parse a DWARFFormValue.

http://reviews.llvm.org/D5630

Files:
  include/llvm/DebugInfo/DWARFFormValue.h
  lib/DebugInfo/DWARFFormValue.cpp
  unittests/DebugInfo/DWARFFormValueTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5630.14469.patch
Type: text/x-patch
Size: 5215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141006/18eff2a0/attachment.bin>


More information about the llvm-commits mailing list