[PATCH] D35397: ELF: Exclude dead symbols from -Map output.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 17:29:34 PDT 2017


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

LGTM



================
Comment at: lld/test/ELF/map-gc-sections.s:3
+// RUN: ld.lld %t.o -o %t -Map=%t.map --gc-sections
+// FileCheck %s < %t.map
+
----------------
Forgot to add `RUN:`? You could do

  ld.lld %t.o -o %t -Map=- --gc-sections | FileCheck %s


https://reviews.llvm.org/D35397





More information about the llvm-commits mailing list