Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For more in-depth information on different ABIs (Clang isn't covered but follows GCC pretty closely), see Manual #5 [1] of Agner Fog's optimization manuals.

[1] http://agner.org/optimize/#manual_call_conv



Nice recommendation. Someone mentioned it as well on proggit: http://www.reddit.com/r/programming/comments/24gpqp/lets_wri...


Any ABI differences between Clang and GCC for externally visible functions is a bug. The system defines that ABI (SysV for Mac and Linux x86_64). Internally visible functions can use different ABIs that allow the compiler to perform more aggressive optimizations.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: