[PATCH] D100966: [lld-link] Ignore undefined symbols in .addrsig table

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 09:35:24 PDT 2021


MaskRay added a comment.

This is not correct. A symbol marked by `.addrsig_sym` can be referenced via normal means. With this patch, the diagnostic may change from `error: undefined symbol: bar` to `error: relocation against symbol in discarded section: bar`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100966



More information about the llvm-commits mailing list