diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2016-03-09 14:12:47 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2016-03-09 14:12:47 +0000 |
commit | 921c2b4eb338100ca756c11995ebda62fea4eda4 (patch) | |
tree | c89380af0324c11b10bf9b0ed3bcf881a1a8375a /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 5b7b9e946c2967c693dbcc7d7ca99897c2516008 (diff) | |
download | llvm-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