Bitcode writer: fix a typo, using getName() instead of getSourceFileName()
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 16 Feb 2016 22:07:03 +0000 (22:07 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 16 Feb 2016 22:07:03 +0000 (22:07 +0000)
commit83efea89e8be6bdfe3dbf26ad23bc5b06a817fe0
tree950b18dca81b648fc75533024f82f1e17b514a80
parent0a0e54c194f68a56521048f82b530a1989a3cda7
Bitcode writer: fix a typo, using getName() instead of getSourceFileName()

When emitting the source filename, the encoding of the string
was checked against the name instead of the filename.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 261019
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp