The patch is straightforward and the reasons for the changes are obvious.
- In llvm/lib/CodeGen/StackMaps.cpp, the comments above StackMaps::emitCallsiteEntries doesn't reflect the actual implementation of the StackMaps::emitCallsiteEntries.
- In llvm/docs/StackMaps.rst, a { is missing.