diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-08-15 12:56:52 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-08-15 12:56:52 +0000 |
commit | 750f1cf9e47011f9a8760b5cef0a62aa29917122 (patch) | |
tree | 3ef08091237c82c4f43b39fbe1607977f79a8636 /compiler-rt/lib/interception/interception_win.cc | |
parent | 71291bc4a787b74a74cabbba04c468f8da73b7cc (diff) | |
download | bcm5719-llvm-750f1cf9e47011f9a8760b5cef0a62aa29917122.tar.gz bcm5719-llvm-750f1cf9e47011f9a8760b5cef0a62aa29917122.zip |
[ASan/Win] Remove old, unused and non-functional code that will be re-written soon
llvm-svn: 215707
Diffstat (limited to 'compiler-rt/lib/interception/interception_win.cc')
-rw-r--r-- | compiler-rt/lib/interception/interception_win.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc index 261157fc7b1..a20939c7772 100644 --- a/compiler-rt/lib/interception/interception_win.cc +++ b/compiler-rt/lib/interception/interception_win.cc @@ -19,20 +19,6 @@ namespace __interception { -bool GetRealFunctionAddress(const char *func_name, uptr *func_addr) { - const char *DLLS[] = { - "msvcr80.dll", - "msvcr90.dll", - "kernel32.dll", - NULL - }; - *func_addr = 0; - for (size_t i = 0; *func_addr == 0 && DLLS[i]; ++i) { - *func_addr = (uptr)GetProcAddress(GetModuleHandleA(DLLS[i]), func_name); - } - return (*func_addr != 0); -} - // FIXME: internal_str* and internal_mem* functions should be moved from the // ASan sources into interception/. |