diff options
| author | Timur Iskhodzhanov <timurrrr@google.com> | 2015-02-10 16:29:05 +0000 |
|---|---|---|
| committer | Timur Iskhodzhanov <timurrrr@google.com> | 2015-02-10 16:29:05 +0000 |
| commit | 8ce4a069e410863a79c58616a6e0cc5c5077739d (patch) | |
| tree | 4d99dc4a80d045dd6b656f6e6ef8b0010a60f093 /compiler-rt/lib/sanitizer_common/sanitizer_win.cc | |
| parent | 54cc5b6fc82863a8870a1c081b350ba6c6db8ff3 (diff) | |
| download | bcm5719-llvm-8ce4a069e410863a79c58616a6e0cc5c5077739d.tar.gz bcm5719-llvm-8ce4a069e410863a79c58616a6e0cc5c5077739d.zip | |
[ASan/Win] NFC, just minor simplification of the code
llvm-svn: 228702
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_win.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc index edd4bd11b36..b34ee13faf7 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc @@ -263,8 +263,8 @@ void DumpProcessMap() { for (size_t i = 0; i < num_modules; ++i) { const ModuleInfo &mi = modules[i]; char module_name[MAX_PATH]; - bool got_module_name = GetModuleFileNameEx( - cur_process, mi.handle, module_name, sizeof(module_name)); + bool got_module_name = GetModuleFileNameA( + mi.handle, module_name, sizeof(module_name)); if (mi.end_address != 0) { Printf("\t%p-%p %s\n", mi.base_address, mi.end_address, got_module_name ? module_name : "[no name]"); |

