diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2018-02-13 17:05:54 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2018-02-13 17:05:54 +0000 |
commit | 1ce4642ddca68eb2e319ec7ad4a776b0dd960135 (patch) | |
tree | ab3a29a51f00aa447b061f516b438f2883643445 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | f73ff612cabc043d481b6fdd3b5e7cd92d5f0706 (diff) | |
download | llvm-1ce4642ddca68eb2e319ec7ad4a776b0dd960135.zip llvm-1ce4642ddca68eb2e319ec7ad4a776b0dd960135.tar.gz llvm-1ce4642ddca68eb2e319ec7ad4a776b0dd960135.tar.bz2 |
[sanitizer] Implement GetRSS on Windows
Summary:
Pretty straightforward, returning the `WorkingSetSize` of a
`PROCESS_MEMORY_COUNTERS` structure. AFAIU, `GetProcessMemoryInfo` is in
`kernel32.lib` for Windows 7 and above. Support for earlier Windows versions
would require `psapi.lib`, but I don't think those are supported by ASan?
Reviewers: alekseyshl, rnk, vitalybuka
Reviewed By: vitalybuka
Subscribers: vitalybuka, kubamracek, delcypher, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D42822
llvm-svn: 325020
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions