2016-05-24 22:51:50 +08:00
|
|
|
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
|
2016-05-24 23:17:47 +08:00
|
|
|
// RUN: ld.lld --eh-frame-hdr %t.o -o %t.so -shared
|
2016-05-24 22:51:50 +08:00
|
|
|
// We used to crash on this.
|
|
|
|
.section .eh_frame
|
|
|
|
foo:
|
|
|
|
.long 0
|