[llvm] ae13998 - [JITLink] Fix comment: addSection no longer takes an alignment. NFC.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 20:50:46 PST 2025
Author: Lang Hames
Date: 2025-01-22T15:50:34+11:00
New Revision: ae139988ae2547a6ee4be5850201dedbd3d0ec66
URL: https://github.com/llvm/llvm-project/commit/ae139988ae2547a6ee4be5850201dedbd3d0ec66
DIFF: https://github.com/llvm/llvm-project/commit/ae139988ae2547a6ee4be5850201dedbd3d0ec66.diff
LOG: [JITLink] Fix comment: addSection no longer takes an alignment. NFC.
Added:
Modified:
llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h b/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
index bd82fadea10270..dd3d6012d682ca 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
@@ -1126,7 +1126,7 @@ class LinkGraph {
return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size() + 1);
}
- /// Create a section with the given name, protection flags, and alignment.
+ /// Create a section with the given name, protection flags.
Section &createSection(StringRef Name, orc::MemProt Prot) {
assert(!Sections.count(Name) && "Duplicate section name");
std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size()));
More information about the llvm-commits
mailing list