Skip to content

Move JITLink from StringRefs to SymbolStringPtrs #55533

Open
@weliveindetail

Description

@weliveindetail

JITLink is using the lllvm::StringRef type in many places where llvm::orc::SymbolStringPtr would result in better performance and memory footprint, e.g.

// FIXME: A char* or SymbolStringPtr may pack better.
StringRef Name;

In such cases the string should be interned in a llvm::orc::SymbolStringPool and referenced via llvm::orc::SymbolStringPtr.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions