[Lldb-commits] [PATCH] D53753: [Windows] Define generic arguments registers for Windows x64
Nathan Lanza via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 15 14:27:04 PDT 2019
lanza added a comment.
Herald added a project: LLVM.
@aleksandr.urakov Microsoft's docs state
> The first four integer arguments are passed in registers. Integer values are passed in left-to-right order in RCX, RDX, R8 <https://reviews.llvm.org/source/libcxx/>, and R9 <https://reviews.llvm.org/source/libcxxabi/>, respectively. Arguments five and higher are passed on the stack. All arguments are right-justified in registers, so the callee can ignore the upper bits of the register and access only the portion of the register necessary.
What's the reason for having R10 <https://reviews.llvm.org/source/test-suite/> and R11 <https://reviews.llvm.org/source/libunwind/> as `LLDB_REGNUM_GENERIC_ARG5` and 6?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53753/new/
https://reviews.llvm.org/D53753
More information about the lldb-commits
mailing list