]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/ELF/relax-crash.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.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