[all-commits] [llvm/llvm-project] 87d9c3: [orc-rt] Add Mangling.h with platform symbol name ...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed Sep 9 05:46:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87d9c3c24ff5941ac08799850a6549b561c98a81
      https://github.com/llvm/llvm-project/commit/87d9c3c24ff5941ac08799850a6549b561c98a81
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M orc-rt/include/CMakeLists.txt
    A orc-rt/include/orc-rt/support/Mangling.h
    M orc-rt/test/unit/CMakeLists.txt
    A orc-rt/test/unit/support/ManglingTest.cpp

  Log Message:
  -----------
  [orc-rt] Add Mangling.h with platform symbol name mangling (#222315)

This implements a cut-down version of the LLVM equivalent (in
llvm/include/llvm/ExecutionEngine/Orc/Shared/Mangler.h): SymbolNameSpec
pairs a name with a kind (assembly, C). Mangling functions
(withMangledNameDo, mangledCopy) apply mangling to SymbolNameSpecs based
on the symbol name kind.

These utilities will be used to report symbols (e.g. controller
interface symbols) in the platform's native mangling, so that linking
against them requires no special handling.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list