aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2016-03-09 14:12:47 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2016-03-09 14:12:47 +0000
commit921c2b4eb338100ca756c11995ebda62fea4eda4 (patch)
treec89380af0324c11b10bf9b0ed3bcf881a1a8375a /llvm/lib/CodeGen/MachineSink.cpp
parent5b7b9e946c2967c693dbcc7d7ca99897c2516008 (diff)
downloadllvm-921c2b4eb338100ca756c11995ebda62fea4eda4.zip
llvm-921c2b4eb338100ca756c11995ebda62fea4eda4.tar.gz
llvm-921c2b4eb338100ca756c11995ebda62fea4eda4.tar.bz2
Reland r262337 "calculate builtin_object_size if arg is a removable pointer"
Original commit message: calculate builtin_object_size if argument is a removable pointer This patch fixes calculating correct value for builtin_object_size function when pointer is used only in builtin_object_size function call and never after that. Patch by Strahinja Petrovic. Differential Revision: http://reviews.llvm.org/D17337 Reland the original change with a small modification (first do a null check and then do the cast) to satisfy ubsan. llvm-svn: 263011
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions