[all-commits] [llvm/llvm-project] 81334f: [ORC] Further improvements to SymbolStringPtr & No...
lhames via All-commits
all-commits at lists.llvm.org
Tue Jan 31 16:41:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81334f4b018ea5781aa32388a5a51805b1004141
https://github.com/llvm/llvm-project/commit/81334f4b018ea5781aa32388a5a51805b1004141
Author: Lang Hames <lhames at gmail.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
M llvm/unittests/ExecutionEngine/Orc/SymbolStringPoolTest.cpp
Log Message:
-----------
[ORC] Further improvements to SymbolStringPtr & NonOwningSymbolStringPtr.
A follow-up to https://reviews.llvm.org/D142314:
* Make SymbolStringPtrs constructible from NonOwningSymbolStringPtrs.
* Move and rename getRefCount and isValid (now poolEntryIsAlive) to improve
readability. Also updates these routines to make them safe for use with
sentinel values (null, empty, tombstone).
* Move ref-counting operations into their own incRef and decRef methods.
More information about the All-commits
mailing list