diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-28 17:14:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-28 17:14:23 +0000 |
commit | 9cd20bf7928b55a40d85d3735944b2148a99959c (patch) | |
tree | 5784f05787363f79ccbd6dfc78e09a7c28084c6e /llvm/lib/Support | |
parent | 32f889e552d5964c43ebc27385c2a79fb21fd74a (diff) | |
download | bcm5719-llvm-9cd20bf7928b55a40d85d3735944b2148a99959c.tar.gz bcm5719-llvm-9cd20bf7928b55a40d85d3735944b2148a99959c.zip |
When user code intentionally dereferences null, the alignment of the
dereference is theoretically infinite. Put a cap on the computed
alignment to avoid overflow, noticed by John Regehr.
llvm-svn: 109596
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions