[Issue 15028] New: Weird disassembly on asm.dlang.org
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 8 01:39:38 PDT 2015
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: nobody at puremagic.com
Reporter: dfj1esp02 at sneakemail.com
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?
--
More information about the Digitalmars-d-bugs
mailing list