[PATCH] D67754: [ELF] Fix two null pointer dereferences related to SHF_LINK_ORDER with --gc-sections

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 03:46:19 PDT 2019


grimar added a comment.

Two questions:

1. Why it is not a error? As far I understood after reading comments for PR, this is what bfd would do?

(https://bugs.llvm.org/show_bug.cgi?id=43147#c8)

2. Should we instead disable GC for that case maybe?


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D67754





More information about the llvm-commits mailing list