Displaying 3 results from an estimated 3 matches for "callcatch".
2017 Jan 27
2
llvm return value propagation & asm
Hi, I'm trying to have a pure asm function (non inlined) that returns
it's own value to the caller.
; Function Attrs: naked noinline optnone
define i32 @callcatch(i32, i32) #3 !dbg !10103 {
BasicBlock8472:
call void asm "\0D\0Apushl %ebp\0D\0Amovl 8(%esp),%eax\0D\0Amovl
12(%esp), %ebp\0D\0Acalll *%eax\0D\0Apopl %ebp\0D\0Aretl\0D\0A", ""(),
!dbg !10104, !srcloc !10106 // this returns in eax
ret i32 0, !dbg !10104
}
; Function Attr...
2017 Aug 06
0
how to reduce binary size of SAMBA 4 for embeded device
...Hi, Bartlett
>
> I decided to cut some subsystem by myself,
> So I spent several days to study the SAMBA 4 WAF build system and now know the base steps of build.
> but which subsystem can be removed for snmd/nmbd/smbpasswd ?
That is, essentially, your task. You could compile it under
callcatcher, or use some other symbol dependency tracker to work out
what libraries are linked but not used.
The real problem however is when a binary like smbd links against a
library, a, which uses b. However often the way that smbd uses a does
not require b, but it remains a useless dependency.
The c...
2017 Aug 02
2
how to reduce binary size of SAMBA 4 for embeded device
Hi, Bartlett
I decided to cut some subsystem by myself,
So I spent several days to study the SAMBA 4 WAF build system and now know the base steps of build.
but which subsystem can be removed for snmd/nmbd/smbpasswd ?
followings are the full dependencies of these 3 binary
ldd bin/smbpasswd
libpthread.so.0 => /lib/libpthread.so.0 (0xf7139000)
libsamba-util.so.0 =>