diff options
author | Sean Silva <silvas@purdue.edu> | 2012-11-19 23:21:47 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-11-19 23:21:47 +0000 |
commit | aba8270dbad556b667db943f5abff63be89e2602 (patch) | |
tree | 74040216e1ea4722c01ed4ed7f98093d913c0248 /llvm/lib/Transforms/Utils/Utils.cpp | |
parent | 3c0c536300df007927879eaed4835b0b4cc3f3e8 (diff) | |
download | bcm5719-llvm-aba8270dbad556b667db943f5abff63be89e2602.tar.gz bcm5719-llvm-aba8270dbad556b667db943f5abff63be89e2602.zip |
Allow using MemoryBuffers with yaml::Stream directly.
The rationale is to get YAML filenames in diagnostics from
yaml::Stream::printError -- currently the filename is hard-coded as
"YAML" because there's no buffer information available.
Patch by Kim Gräsman!
llvm-svn: 168341
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions