[PATCH] D30885: [ELF] Fix crash when eh_frame or eh_frame_hdr is discarded in linker script
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 13:21:00 PDT 2017
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: test/ELF/linkerscript/pt_gnu_eh_frame.s:3-5
+# RUN: echo "SECTIONS { \
+# RUN: /DISCARD/ : { *(.eh_frame*) *(.eh_frame_hdr*) } \
+# RUN: }" > %t.script
----------------
If you can write this in one line, please do so.
Repository:
rL LLVM
https://reviews.llvm.org/D30885
More information about the llvm-commits
mailing list