[llvm] 822496d - [SampleContextTracker] Add missing LLVM_ABI annotations
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 06:21:59 PDT 2025
Author: Nikita Popov
Date: 2025-08-20T15:19:08+02:00
New Revision: 822496db7f8d808e8596461e84c5ef7d081bdbaf
URL: https://github.com/llvm/llvm-project/commit/822496db7f8d808e8596461e84c5ef7d081bdbaf
DIFF: https://github.com/llvm/llvm-project/commit/822496db7f8d808e8596461e84c5ef7d081bdbaf.diff
LOG: [SampleContextTracker] Add missing LLVM_ABI annotations
Added:
Modified:
llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h b/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
index 1fececbef2adc..1efe3ea127fd0 100644
--- a/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
+++ b/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h
@@ -187,8 +187,8 @@ class SampleContextTracker {
#ifndef NDEBUG
// Get a context string from root to current node.
- std::string getContextString(const FunctionSamples &FSamples) const;
- std::string getContextString(ContextTrieNode *Node) const;
+ LLVM_ABI std::string getContextString(const FunctionSamples &FSamples) const;
+ LLVM_ABI std::string getContextString(ContextTrieNode *Node) const;
#endif
// Dump the internal context profile trie.
LLVM_ABI void dump();
More information about the llvm-commits
mailing list