diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-10-13 07:14:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-10-13 07:14:16 +0000 |
| commit | 3eb172a02b34c4925dae38eb743571ae7d9f257c (patch) | |
| tree | 8d08f6dd8942b0d6d0ac3dca63fde8188a4b2013 /llvm/unittests/ADT/APIntTest.cpp | |
| parent | 6f7d8347c1c6230187d33fe8fdb21c43ee3454bb (diff) | |
| download | llvm-3eb172a02b34c4925dae38eb743571ae7d9f257c.zip llvm-3eb172a02b34c4925dae38eb743571ae7d9f257c.tar.gz llvm-3eb172a02b34c4925dae38eb743571ae7d9f257c.tar.bz2 | |
Teach sema and codegen about the difference between address of labels,
which is a common idiom to improve PIC'ness of code using the addr of
label extension. This implementation is a gross hack, but the only other
alternative would be to teach evalutate about this horrid combination.
While GCC allows things like "&&foo - &&bar + 1", people don't use this
in practice. This implements PR5131.
llvm-svn: 83957
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
