[PATCH] D36519: [ELF] - Add a test for --gc-sections --undefined=foo combination.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 09:46:01 PDT 2017


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/ELF/gc-sections-undefined.s:3
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
+# RUN: ld.lld %t -o %t1 --gc-sections --undefined=foo --undefined=bar
+# RUN: llvm-readobj -t %t1 | FileCheck %s
----------------
foo and bar are testing the same thing, so remove bar.


https://reviews.llvm.org/D36519





More information about the llvm-commits mailing list