Displaying 1 result from an estimated 1 matches for "4005b1".
Did you mean:
400511
2012 May 29
2
[LLVMdev] How to prevent insertion of memcpy()
...pile it with clang I see that it inserts memcpy() in function
bar():
$ clang -v
clang version 3.2 (trunk 157390)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ clang test.c -g && objdump -dCS a.out
void bar(struct foo_t* foo) {
4005b0: 55 push %rbp
4005b1: 48 89 e5 mov %rsp,%rbp
4005b4: 48 83 ec 10 sub $0x10,%rsp
4005b8: 48 89 7d f8 mov %rdi,-0x8(%rbp)
g_foo = *foo;
4005bc: 48 8b 7d f8 mov -0x8(%rbp),%rdi
4005c0: 64 48 8b 04 25 00 00 mov %fs:...