OSDN Git Service

Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead
authorDan Gohman <gohman@apple.com>
Tue, 8 Sep 2009 22:20:35 +0000 (22:20 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 8 Sep 2009 22:20:35 +0000 (22:20 +0000)
commitf31657990191d5b2bb1eb3bd95020fc3375f0e3d
tree5e170bb6abddf76e773581fda8a7ade5387d8565
parentf1c3d5010f465057600c9085bdb15a702ef4a598
Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead
of requiring a name be passed in. This makes it use "<stdin>"
instead of "-" and makes it more consistent with the Bitcode reader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81256 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Assembly/Parser.h
include/llvm/Support/IRReader.h
lib/AsmParser/Parser.cpp