llvm

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// LLVM may itself be built with either the MSVC or libc++ C++ ABI. Compile
	// the bridge for the ABI selected by its host clang++, then expose only C
	// functions to the LLGo target. This avoids leaking that C++ ABI across the
	// package boundary while retaining the target's native C ABI.
	LLGoFiles = "$(pkg-config --cflags llvm-19) -std=c++17 --target=$(llvm-config --host-target): _wrap/demangle_windows.cpp"
	// The llvm-19 package preserves LLVM's library order and required Windows
	// system libraries.
	LLGoPackage = "link: $(pkg-config --libs llvm-19)"
)

Variables

This section is empty.

Functions

func ItaniumDemangle

func ItaniumDemangle(mangledName StringView, parseParams bool) *c.Char

func MicrosoftDemangle

func MicrosoftDemangle(mangledName StringView, nRead *uintptr, status *c.Int, flags MSDemangleFlags) *c.Char

func RustDemangle

func RustDemangle(mangledName StringView) *c.Char

Types

type MSDemangleFlags

type MSDemangleFlags c.Int
enum MSDemangleFlags {
  MSDF_None = 0,
  MSDF_DumpBackrefs = 1 << 0,
  MSDF_NoAccessSpecifier = 1 << 1,
  MSDF_NoCallingConvention = 1 << 2,
  MSDF_NoReturnType = 1 << 3,
  MSDF_NoMemberType = 1 << 4,
  MSDF_NoVariableType = 1 << 5,
};

type StringView

type StringView = string

StringView represents a C++ std::string_view object.

Directories

Path Synopsis
_demo
demangle command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL