[lld] [MTE] [lld] Don't tag symbols in sections with implicit start/stop (PR #73531)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 21:52:55 PST 2023


MaskRay wrote:

> What about things like `__FOO_START__` and `__FOO_END__`?
> 
> We hit a similar issue with ELF's lack of expressiveness for CHERI and have to add more heuristics than just this case.

STT_OBJECT defined in custom section names (possibly non-C-identifier-name) with manually-defined encapsulation symbols. Interesting case. Do you have some examples? I haven't seen such code.

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


More information about the llvm-commits mailing list