diff options
| author | Alexander Potapenko <glider@google.com> | 2018-03-28 12:36:46 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2018-03-28 12:36:46 +0000 |
| commit | 202f8094372e51e120629f7a5d04993455d36ad7 (patch) | |
| tree | 6c8898775f36e92d2ce0b1776f19a2cd5d088d03 /llvm/test/MC/ELF/dwarf-file0.s | |
| parent | 5076b98fb91b5befd592cbcf220b0de28855fc59 (diff) | |
| download | bcm5719-llvm-202f8094372e51e120629f7a5d04993455d36ad7.tar.gz bcm5719-llvm-202f8094372e51e120629f7a5d04993455d36ad7.zip | |
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/test/MC/ELF/dwarf-file0.s')
| -rw-r--r-- | llvm/test/MC/ELF/dwarf-file0.s | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/MC/ELF/dwarf-file0.s b/llvm/test/MC/ELF/dwarf-file0.s deleted file mode 100644 index ae87df2a3f0..00000000000 --- a/llvm/test/MC/ELF/dwarf-file0.s +++ /dev/null @@ -1,19 +0,0 @@ -# RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefixes=CHECK,CHECK-4 -# RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefixes=CHECK,CHECK-5 -# Darwin is stuck on DWARF v2. -# XFAIL: darwin - .file 0 "root.cpp" - .file 1 "header.h" - .file 2 "root.cpp" -# CHECK-5: include_directories[ 0] = "" -# CHECK-4-NOT: include_directories -# CHECK-4-NOT: file_names[ 0] -# CHECK-5: file_names[ 0]: -# CHECK-5-NEXT: name: "root.cpp" -# CHECK-5-NEXT: dir_index: 0 -# CHECK: file_names[ 1]: -# CHECK-NEXT: name: "header.h" -# CHECK-NEXT: dir_index: 0 -# CHECK: file_names[ 2]: -# CHECK-NEXT: name: "root.cpp" -# CHECK-NEXT: dir_index: 0 |

