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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to