aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-05-31 13:41:07 +0000
committerDerek Bruening <bruening@google.com>2016-05-31 13:41:07 +0000
commit8ef3f0fa5b12b0903b4f331ee477efeb5df125d2 (patch)
treebc07f947397bf55a8028ef334bd1af2057531339 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent659afd55fa09a1ce668a2483c23acdaf200cc6b9 (diff)
downloadllvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.zip
llvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.tar.gz
llvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.tar.bz2
[esan|wset] Iterate all memory to compute the total working set
Summary: Adds iteration of all application memory in an efficient manner using shadow faults. Shadow memory starts out inaccessible and we mark it writable one page at a time on each fault when the instrumentation touches it. This allows iteration over just the mapped shadow memory, saving significant time. Adds a process-end iteration and pretty-printing of the final result. Adds a new test and updates the existing tests. Reviewers: aizatsky, filcab Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka Differential Revision: http://reviews.llvm.org/D20578 llvm-svn: 271277
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions