LLVM 24.0.0git
llvm::orc::MangleAndInterner Class Reference

Mangles symbol names then uniques them in the context of an ExecutionSession. More...

#include "llvm/ExecutionEngine/Orc/Mangling.h"

Public Types

enum class  ManglingMode {
  None , ELF , MachO , WinCOFF ,
  WinCOFFX86 , GOFF , Mips , XCOFF
}

Public Member Functions

LLVM_ABI MangleAndInterner (ExecutionSession &ES, StringRef ABIName="")
LLVM_ABI MangleAndInterner (ExecutionSession &ES, ManglingMode Mode)
LLVM_ABI MangleAndInterner (ExecutionSession &ES, const DataLayout &DL)
LLVM_ABI SymbolStringPtr operator() (StringRef Name)

Detailed Description

Mangles symbol names then uniques them in the context of an ExecutionSession.

Definition at line 27 of file Mangling.h.

Member Enumeration Documentation

◆ ManglingMode

Enumerator
None 
ELF 
MachO 
WinCOFF 
WinCOFFX86 
GOFF 
Mips 
XCOFF 

Definition at line 29 of file Mangling.h.

Constructor & Destructor Documentation

◆ MangleAndInterner() [1/3]

llvm::orc::MangleAndInterner::MangleAndInterner ( ExecutionSession & ES,
StringRef ABIName = "" )

Definition at line 20 of file Mangling.cpp.

◆ MangleAndInterner() [2/3]

llvm::orc::MangleAndInterner::MangleAndInterner ( ExecutionSession & ES,
ManglingMode Mode )

Definition at line 23 of file Mangling.cpp.

◆ MangleAndInterner() [3/3]

llvm::orc::MangleAndInterner::MangleAndInterner ( ExecutionSession & ES,
const DataLayout & DL )

Definition at line 26 of file Mangling.cpp.

References DL.

Member Function Documentation

◆ operator()()

SymbolStringPtr llvm::orc::MangleAndInterner::operator() ( StringRef Name)

Definition at line 36 of file Mangling.cpp.

References MachO, and WinCOFFX86.


The documentation for this class was generated from the following files: