Revert part of r241149, "Fix PR23872: Integrated assembler error message when using...
[oota-llvm.git] / test / MC / ELF / relax-crash.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
2
3 // This is a test that we don't crash. We used to do so by going in a infinite
4 // recursion trying to compute the size of a MCDwarfLineAddrFragment.
5
6        .section        .debug_line,"",@progbits
7        .text
8        .file 1 "Disassembler.ii"
9        .section foo
10        .loc 1 1 0
11        ret