Embedded Toolchain Roundtable Notes -- LLVM Dev Meeting Oct 12, 2023 (original) (raw)

October 16, 2023, 8:29pm 1

Brief list of things discussed in the embedded workshop on Oct 10th.

  1. LTO and linker scripts
  2. Profiling
  3. LLD
  4. Libraries (libc, libc++)

Topics?

Stack usage

Sanitizers

Linker script semantics

Do we actually know what the semantics of the linker scripts are?

This came up in the context of LTO.

For selectors “abc.o(text)” – what should happen here?

Is it a bug if LLD doesn’t implement GNU LD specific behavior?

LTO is going to imply function sections – right now we don’t retain the info in LTO compilation.

How do we prevent cross module inlining?

Can we make LLD more discoverable?