diff options
author | serge-sans-paille <sguelton@redhat.com> | 2020-09-18 11:02:15 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2020-09-21 12:08:30 +0200 |
commit | 2a774411174466010c69a2460c81b8d0d4f7165f (patch) | |
tree | 62aea491aae771c1bc7cc238b1c44dc2f4cdc270 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 095f6fbbd7b61af205d761f6951a869ec4a61722 (diff) | |
download | llvm-2a774411174466010c69a2460c81b8d0d4f7165f.zip llvm-2a774411174466010c69a2460c81b8d0d4f7165f.tar.gz llvm-2a774411174466010c69a2460c81b8d0d4f7165f.tar.bz2 |
Do not dereference an array out of bound just to take its address
This is UB by the standard, and caught by the libstdc++ asserts
Differential Revision: https://reviews.llvm.org/D87892
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions