[lld] [ELF] Support R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 in non-SHF_ALLOC sections (PR #72610)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 14:55:42 PST 2023


MaskRay wrote:

> @MaskRay We've seen some issues [building Fuchsia](https://ci.chromium.org/ui/p/turquoise/builders/global.try/bringup.riscv64-debug/b8764739883163241713/overview) since [1df5ea2](https://github.com/llvm/llvm-project/commit/1df5ea29b43690b6622db2cad7b745607ca4de6a) landed. We've been triaging a variety of other issues the were breaking the build, so this wasn't noticed, but now that they're cleared up we're seeing these regularly when evaluating new Toolchains.
> 
> From what I can tell, this patch should fix those types of errors, correct?

Yes, if your issue is related to `.debug_rnglists`/`.debug_loclists`. See also https://github.com/ClangBuiltLinux/linux/issues/1961#issuecomment-1815660596 



https://github.com/llvm/llvm-project/pull/72610


More information about the llvm-commits mailing list