https://issues.dlang.org/show_bug.cgi?id=15028
Issue ID: 15028
Summary: Weird disassembly on asm.dlang.org
Product: D
Version: D2
Hardware: All
URL: http://asm.dlang.org/
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
Code
---
void f()
{
const char* c="aaaaa";
g(c);
}
extern void g(in char* s);
---
Gives disassembler output
---
void example.f():
push rbp
mov rbp,rsp
mov edi,0x0
call e <void example.f()+0xe>
pop rbp
ret
---
The function is called with null argument?
--