summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterferenceCache.h
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2015-05-21 19:40:19 +0000
committerDerek Schuff <dschuff@google.com>2015-05-21 19:40:19 +0000
commitfcfd5ae82c93f9ff350fac4e7fb07d774139e1a5 (patch)
treef1b93053fc5cc40ead2dc95c2a81057f24ec968e /llvm/lib/CodeGen/InterferenceCache.h
parent286875874af11c4c5a1acd950b4dd82c556ce344 (diff)
downloadbcm5719-llvm-fcfd5ae82c93f9ff350fac4e7fb07d774139e1a5.tar.gz
bcm5719-llvm-fcfd5ae82c93f9ff350fac4e7fb07d774139e1a5.zip
Fix StreamingMemoryObject to respect known object size.
The existing code for method StreamingMemoryObject.fetchToPos does not respect the corresonding call to setKnownObjectSize(). As a result, it allows the StreamingMemoryObject to read bytes past the object size. This patch provides a test case, and code to fix the problem. Patch by Karl Schimpf Differential Revision: http://reviews.llvm.org/D8931 llvm-svn: 237939
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud