aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2018-03-28 12:36:46 +0000
committerAlexander Potapenko <glider@google.com>2018-03-28 12:36:46 +0000
commit202f8094372e51e120629f7a5d04993455d36ad7 (patch)
tree6c8898775f36e92d2ce0b1776f19a2cd5d088d03 /llvm/lib/MC/MCStreamer.cpp
parent5076b98fb91b5befd592cbcf220b0de28855fc59 (diff)
downloadllvm-202f8094372e51e120629f7a5d04993455d36ad7.zip
llvm-202f8094372e51e120629f7a5d04993455d36ad7.tar.gz
llvm-202f8094372e51e120629f7a5d04993455d36ad7.tar.bz2
Revert "Reapply "[DWARFv5] Emit file 0 to the line table.""
This reverts commit r328676. Commit r328676 broke the -no-integrated-as flag necessary to build Linux kernel with Clang: $ cat t.c void foo() {} $ clang -no-integrated-as -c t.c -g /tmp/t-dcdec5.s: Assembler messages: /tmp/t-dcdec5.s:8: Error: file number less than one clang-7.0: error: assembler command failed with exit code 1 (use -v to see invocation) llvm-svn: 328699
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 7765698..7d847c6 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -199,15 +199,6 @@ MCStreamer::tryEmitDwarfFileDirective(unsigned FileNo, StringRef Directory,
Source, CUID);
}
-void MCStreamer::emitDwarfFile0Directive(StringRef Directory,
- StringRef Filename,
- MD5::MD5Result *Checksum,
- Optional<StringRef> Source,
- unsigned CUID) {
- getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum,
- Source);
-}
-
void MCStreamer::EmitDwarfLocDirective(unsigned FileNo, unsigned Line,
unsigned Column, unsigned Flags,
unsigned Isa,