[PATCH] D68943: [llvm][yaml2obj] no more implicit ELF .symtab section

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 08:06:38 PDT 2019


MaskRay added a comment.

This is not correct. A lot of yaml2obj tests fail with:

> yaml2obj: error: unknown section referenced: '.symtab' by YAML section '.rela.text'

The problem is that .symtab can be the sh_link field of relocation sections, .llvm_addrsig, and some sections that may be added in the future.

Making .symtab conditionally define is difficult. I'll take a closer look tomorrow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68943





More information about the llvm-commits mailing list