File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,8 @@ void LLVMOrcRetainSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S);
319
319
*/
320
320
void LLVMOrcReleaseSymbolStringPoolEntry (LLVMOrcSymbolStringPoolEntryRef S);
321
321
322
+ const char *LLVMOrcSymbolStringPoolEntryStr (LLVMOrcSymbolStringPoolEntryRef S);
323
+
322
324
/* *
323
325
* Reduces the ref-count of a ResourceTracker.
324
326
*/
Original file line number Diff line number Diff line change @@ -188,6 +188,10 @@ void LLVMOrcReleaseSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S) {
188
188
OrcV2CAPIHelper::releasePoolEntry (unwrap (S));
189
189
}
190
190
191
+ const char *LLVMOrcSymbolStringPoolEntryStr (LLVMOrcSymbolStringPoolEntryRef S) {
192
+ return unwrap (S)->getKey ().data ();
193
+ }
194
+
191
195
LLVMOrcResourceTrackerRef
192
196
LLVMOrcJITDylibCreateResourceTracker (LLVMOrcJITDylibRef JD) {
193
197
auto RT = unwrap (JD)->createResourceTracker ();
You can’t perform that action at this time.
0 commit comments