diff options
author | Eric Beckmann <ecbeckmann@google.com> | 2017-09-16 01:14:36 +0000 |
---|---|---|
committer | Eric Beckmann <ecbeckmann@google.com> | 2017-09-16 01:14:36 +0000 |
commit | 913213c8ae6167de4b8ba92cbd71975761113096 (patch) | |
tree | 303f5fb3d082b085b65fc2068b53a8cfbce718bc /llvm/lib/MC/MCStreamer.cpp | |
parent | b29a17ba21d3c19bf3cc5df2b979a9f67666ed54 (diff) | |
download | bcm5719-llvm-913213c8ae6167de4b8ba92cbd71975761113096.tar.gz bcm5719-llvm-913213c8ae6167de4b8ba92cbd71975761113096.zip |
Revert "Fix Bug 30978 by emitting cv file checksums."
This reverts commit 6389e7aa724ea7671d096f4770f016c3d86b0d54.
There is a bug in this implementation where the string value of the
checksum is outputted, instead of the actual hex bytes. Therefore the
checksum is incorrect, and this prevent pdbs from being loaded by visual
studio. Revert this until the checksum is emitted correctly.
llvm-svn: 313431
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCStreamer.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index cd5be8816ac..b9812c3ef96 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/lib/MC/MCStreamer.cpp @@ -228,11 +228,8 @@ void MCStreamer::EnsureValidDwarfFrame() { report_fatal_error("No open frame"); } -bool MCStreamer::EmitCVFileDirective(unsigned FileNo, StringRef Filename, - StringRef Checksum, - unsigned ChecksumKind) { - return getContext().getCVContext().addFile(*this, FileNo, Filename, Checksum, - ChecksumKind); +bool MCStreamer::EmitCVFileDirective(unsigned FileNo, StringRef Filename) { + return getContext().getCVContext().addFile(FileNo, Filename); } bool MCStreamer::EmitCVFuncIdDirective(unsigned FunctionId) { |