Skip to content

Commit a26107c

Browse files
committed
add comment
1 parent 7b64ce4 commit a26107c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Object/SFrameParser.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ static std::optional<int32_t> getOffset(ArrayRef<int32_t> Offsets, size_t Idx) {
186186
return std::nullopt;
187187
}
188188

189+
// The interpretation of offsets is ABI-specific. The implementation of this and
190+
// the following functions may need to be adjusted when adding support for a new
191+
// ABI.
189192
template <endianness E>
190193
std::optional<int32_t>
191194
SFrameParser<E>::getCFAOffset(const FrameRowEntry &FRE) const {

0 commit comments

Comments
 (0)