[PATCH] D68087: [ELF] Set SectionBase::partition in processSectionCommands

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 09:03:26 PDT 2019


andrewng added a comment.

Apart from the fix for the test, LGTM.



================
Comment at: test/ELF/linkerscript/dynamic.s:11
+# RUN: echo "SECTIONS { .init_array : { *(.init_array} } }" > %t.script
 # RUN: ld.lld %t1.o %t2.so -o %t
 # RUN: llvm-readobj --dynamic-table %t | FileCheck %s
----------------
Need to include "-T %t.script" to use the linker script.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68087/new/

https://reviews.llvm.org/D68087





More information about the llvm-commits mailing list