[PATCH] D153602: [DWARF] Adjust warning condition for .dwo sections with relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 16:53:09 PDT 2023


MaskRay marked an inline comment as done.
MaskRay added a comment.

In D153602#4444670 <https://reviews.llvm.org/D153602#4444670>, @ayermolo wrote:

> Thanks for fixing this. I didn't realize there were {.text,.rodata}.dwo sections. 
> Any good spec/doc I can read up on it?

`-ffunction-sections` appends the function name to `.text.`, so a function named `dwo` in C or C++ `extern "C"` mode will get this section.
`.rodata.dwo` / `.data.dwo` is similar.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153602



More information about the llvm-commits mailing list