commit | dd2116462ae311043986ae8b7fba27e68c1b2e66 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu Feb 19 22:24:01 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu Feb 19 22:24:01 2009 +0000 |
tree | 59d458a936f5d0d54b12a14087aff5aa3d9a767d | |
parent | b92dac8bc2f6f73919825f9af693a8a7e89ae1d4 [diff] |
Extend Evaluate() to fold (int) <pointer type>. - PR3463, PR3398, <rdar://problem/6553401> crash on relocatable symbol addresses as constants in static locals. - There are many more scenarious we could handle (like arithmetic on such an int) but this is the main use case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65074 91177308-0d34-0410-b5e6-96231b3b80d8