diff options
| author | Kostya Serebryany <kcc@google.com> | 2015-03-06 19:33:58 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2015-03-06 19:33:58 +0000 |
| commit | 136494c256199c804c66e0aa31a568cb8662b9f5 (patch) | |
| tree | e973a41e653c88d431348e0a91b16262d80bbabd /llvm/lib/Transforms/Scalar/LoopInterchange.cpp | |
| parent | 79442920bfade3e180bb95182bbc075f5df00624 (diff) | |
| download | bcm5719-llvm-136494c256199c804c66e0aa31a568cb8662b9f5.tar.gz bcm5719-llvm-136494c256199c804c66e0aa31a568cb8662b9f5.zip | |
[asan] Fix 2 problems in nohugepage_test.
1. /proc/self/smaps may be bigger than 1 << 14. On my machine, it is
26KB.
2. The read system call may return a partially filled buffer. We need
to check the return value from read.
Patch by H.J. Lu
llvm-svn: 231502
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopInterchange.cpp')
0 files changed, 0 insertions, 0 deletions

