Skip to content

Commit 7e5d67b

Browse files
committed
improve comment
Created using spr 1.3.5-bogner
1 parent 6bf6729 commit 7e5d67b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/include/llvm/MC/MCAsmBackend.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,10 @@ class LLVM_ABI MCAsmBackend {
117117
void maybeAddReloc(const MCFragment &, const MCFixup &, const MCValue &,
118118
uint64_t &Value, bool IsResolved);
119119

120-
/// Determine if a relocation is required. In addition,
121-
/// Apply the \p Value for given \p Fixup into the provided data fragment, at
122-
/// the offset specified by the fixup and following the fixup kind as
123-
/// appropriate. Errors (such as an out of range fixup value) should be
124-
/// reported via \p Ctx.
120+
// Determine if a relocation is required. In addition, apply `Value` to the
121+
// `Data` fragment at the specified fixup offset if applicable. `Data` points
122+
// to the first byte of the fixup offset, which may be at the content's end if
123+
// the fixup is zero-sized.
125124
virtual void applyFixup(const MCFragment &, const MCFixup &,
126125
const MCValue &Target, char *Data, uint64_t Value,
127126
bool IsResolved) = 0;

0 commit comments

Comments
 (0)