Skip to content

Commit

Permalink
[JITLink] Fix comment: addSection no longer takes an alignment. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhames committed Jan 22, 2025
1 parent 9d0bfea commit ae13998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit ae13998

Please sign in to comment.