Thanks for the reply
I am actually looking for ways to determine “size” of code segment when the program is in native code.
Any suggestions to do that ?
Tanu
Thanks for the reply
I am actually looking for ways to determine “size” of code segment when the program is in native code.
Any suggestions to do that ?
Tanu
Thanks for the reply
I am actually looking for ways to determine "size" of code segment when the program is in native code.
Any suggestions to do that ?
Compile it with llvm to a native .o or .exe file, then run 'size' on it?
E.g.:
llvm-gcc x.c -o a.out -Wl,-native
size ./a.out
-Chris
objdump -h a.out
and add the size columns for all sections marked with "CODE"?
Andrew Lenharth
Thanks for replying .
I came across another problem while trying it.
The following compilation is not working: ( with the native option)
llvmgcc x.c -o a.out -Wl,-native
I get this error:
gccld: a.out.s: Can’t destroy file: ut.s
How can I fix that ?
Thanks
Tanu
Thanks for replying .
I came across another problem while trying it.
The following compilation is not working: ( with the native option)llvmgcc x.c -o a.out -Wl,-native
I get this error:
gccld: a.out.s: Can't destroy file: ut.s
How can I fix that ?
This bug has been fixed in CVS, please update your tree.
-Chris
Thanks !!