lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: riscv: llvm-compiler: calling convention violation: temporary register $t2 is used to pass the ninth function parameter
On Thu, 12 May 2022 at 09:30, Changbin Du <changbin.du@huawei.com> wrote:
>
> On Wed, May 11, 2022 at 01:07:14PM -0700, Craig Topper wrote:
> > I’m guessing that because the function is static, the calling convention was changed to fastcall which allows us to ignore the ABI.
> >
> I think so. But the mcount function assumes the ABI is not changed.

It feels like this is a problem that would be encountered on other
architectures with clangbuiltlinux as well, due to dropping the ABI
requirements for local functions. Have you seen something similar
elsewhere Nick?

Best,

Alex

\
 
 \ /
  Last update: 2022-05-12 10:36    [W:0.061 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site