Hello Michael, could you elaborate on the exceptions use case? Let me know if my understanding is correct:

  • only flags built by ToolChain::getMultilibFlags are available for matching in yaml
  • getARMMultilibFlags doesn’t map -fexceptions or -fno-exceptions
  • therefore there is no mechanism for the use case you describe in clang/docs/Multilib.rst

So I’m struggling to find an interface for me to get the exception status to add to my multilib flags Result vector to compose an experimental embedded RISC-V toolchain. Any ideas on how to proceed?