diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-05 22:59:00 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-05 22:59:00 +0000 |
commit | 23f3b82790316a58935c67fd513e846608663cad (patch) | |
tree | 07af22611ffef83475be9f914a829cb47c9d1a72 /llvm/lib/CodeGen | |
parent | 415422ce76eed799fd80ca4f6afb49bce6137f75 (diff) | |
download | bcm5719-llvm-23f3b82790316a58935c67fd513e846608663cad.tar.gz bcm5719-llvm-23f3b82790316a58935c67fd513e846608663cad.zip |
Add writeAsBinary(raw_ostream &) method to BinaryRef.
Previously, yaml2coff.cpp had a writeHexData static helper function to
do this, but it is generally useful functionality.
Also, validate hex strings up-front to avoid running having to handle
errors "deep inside" the yaml2obj code (it also gives better diagnostics
than it used to).
llvm-svn: 183345
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions