diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-08 04:54:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-08 04:54:43 +0000 |
commit | 268e7d7a9446bb89b80472cdb7b9803f16c0191e (patch) | |
tree | 174a213c7be4f0d3f83dcd7c8914ad11e3e5d714 /lib/CodeGen/DwarfWriter.cpp | |
parent | 7e2ff77ef05c23db6b9c82bc7a4110e170d7f94c (diff) |
Add support for constant folding the 'offsetof' pattern even if the
base is not zero. This fixes test/C++Frontend/2008-05-07-CrazyOffsetOf.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions