Add BinaryRef binary_size() method.
authorSean Silva <silvas@purdue.edu>
Wed, 5 Jun 2013 23:32:27 +0000 (23:32 +0000)
committerSean Silva <silvas@purdue.edu>
Wed, 5 Jun 2013 23:32:27 +0000 (23:32 +0000)
commit63958fba58716ed435563321944f7d4663d2ee2d
tree5670637b121f3e1bfa1c4d5230a3f98e8df61e9b
parent2b1068952ade3a1d2c704e7589c54e3d32dc0eb8
Add BinaryRef binary_size() method.

This avoids making assumptions about the data representation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183349 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/YAML.h
tools/yaml2obj/yaml2coff.cpp