David Majnemer 278bbacd27 ConstantFold: Don't optimize comparisons with weak linkage objects
Consider:
void f() {}
void __attribute__((weak)) g() {}
bool b = &f != &g;

It's possble for g to resolve to f if --defsym=g=f is passed on to the
linker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223585 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-06 11:58:33 +00:00
..
2014-12-03 02:08:38 +00:00
2014-11-11 21:30:22 +00:00
2014-06-27 18:19:56 +00:00
2014-12-06 05:57:06 +00:00
2014-11-11 21:30:22 +00:00
2014-11-11 21:30:22 +00:00
2014-12-06 05:57:06 +00:00
2014-06-12 16:06:51 +00:00
2014-12-03 02:08:38 +00:00
2014-08-21 21:09:24 +00:00