[PATCH] D136344: [ELF][RISCV] Merge `riscv.attributes` sections from all input files

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 19:18:34 PST 2022


MaskRay added a comment.

> [ELF][RISCV] Merge `riscv.attributes` sections from all input files

`.riscv.attributes`

You may drop ` from all input files` since it is not precise: we only merge sections from relocatable object files, e.g. not from shared objects.

Ideally, add a `lld/test/ELF/lto/` test that an attribute section from a bitcode file (compiled by `compileBitcodeFiles`) is handled as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136344



More information about the llvm-commits mailing list