Skip to content

Commit ae13998

Browse files
committed
[JITLink] Fix comment: addSection no longer takes an alignment. NFC.
1 parent 9d0bfea commit ae13998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ class LinkGraph {
11261126
return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size() + 1);
11271127
}
11281128

1129-
/// Create a section with the given name, protection flags, and alignment.
1129+
/// Create a section with the given name, protection flags.
11301130
Section &createSection(StringRef Name, orc::MemProt Prot) {
11311131
assert(!Sections.count(Name) && "Duplicate section name");
11321132
std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size()));

0 commit comments

Comments
 (0)