diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-08-31 17:49:49 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-08-31 17:49:49 +0000 |
| commit | 5abf7d90ace56e96ebf7b4d72de5a56c8c368d80 (patch) | |
| tree | 32c48e57680d0d5123c236c0eb315ec045994334 /llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp | |
| parent | 6a7efef4af55b995fdfe9a0819adcb823cbb6191 (diff) | |
| download | bcm5719-llvm-5abf7d90ace56e96ebf7b4d72de5a56c8c368d80.tar.gz bcm5719-llvm-5abf7d90ace56e96ebf7b4d72de5a56c8c368d80.zip | |
[hwasan] Fix new[] with zero size.
Fixes "allocator is out of memory trying to allocate 0x0 bytes" by
always allocating at least one byte.
llvm-svn: 341229
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

