[cfe-commits] r151058 - /cfe/trunk/lib/Headers/unwind.h

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Feb 28 15:10:02 PST 2012


2012/2/28 Jeffrey Yasskin <jyasskin at google.com>:
> Hm, what if you link Firefox against libunwind's .so instead of
> libgcc_s's? Is there a way to define headers so they work either
> statically or dynamically linked? Is this a bug in libunwind's
> headers?

That would not work. Once we have a hidden undefined reference we
cannot resolve it with a shared library. That is why gcc's (and
clang's) header have visibility attributes.

Cheers,
Rafael



More information about the cfe-commits mailing list