summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Disassembler.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-29 07:54:31 +0000
committerChris Lattner <sabre@nondot.org>2007-04-29 07:54:31 +0000
commit6694f60bec9fba4e20df1fdc8b7b9fdae7234033 (patch)
treefc5a4d0206953f078a77bd8c6be34efff8e99c53 /llvm/lib/System/Disassembler.cpp
parentee2d1f1ed2a8bfde444fa0963ed22d2a14cd9655 (diff)
downloadbcm5719-llvm-6694f60bec9fba4e20df1fdc8b7b9fdae7234033.tar.gz
bcm5719-llvm-6694f60bec9fba4e20df1fdc8b7b9fdae7234033.zip
Switch the bitcode reader interface to take a MemoryBuffer instead of knowing
anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554
Diffstat (limited to 'llvm/lib/System/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud