Avoid external linkage call inside __ifunc__
Summary: In debug mode, CpuId() ends up triggering external linkage from inside this __ifunc__. However, in PIC, the relocation of external symbols are not ready yet, causing a segfault. This only reproes in dynamic linking (PIC / so) and dbg mode. Reviewed By: luciang Differential Revision: D3895239 fbshipit-source-id: 2b7856c10abb5cfe24736d5bfac28e7e9d0e8272
Showing
Please register or sign in to comment