summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception/interception_win.cc
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-08-22 12:38:07 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-08-22 12:38:07 +0000
commit220ddacf8d5861a38e2edfdf3caae13ebfdde0f9 (patch)
tree83eda6d9284a634cd865c8275b01c886e3a512ec /compiler-rt/lib/interception/interception_win.cc
parentf2d24473fedb94c95ed6226d7805de1bcc10a047 (diff)
downloadbcm5719-llvm-220ddacf8d5861a38e2edfdf3caae13ebfdde0f9.tar.gz
bcm5719-llvm-220ddacf8d5861a38e2edfdf3caae13ebfdde0f9.zip
[ASan/Win] Land the trivial bits of -MD RTL support (PR20214)
llvm-svn: 216265
Diffstat (limited to 'compiler-rt/lib/interception/interception_win.cc')
-rw-r--r--compiler-rt/lib/interception/interception_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc
index a20939c7772..9a5fb67fe25 100644
--- a/compiler-rt/lib/interception/interception_win.cc
+++ b/compiler-rt/lib/interception/interception_win.cc
@@ -96,6 +96,7 @@ static size_t RoundUpToInstrBoundary(size_t size, char *code) {
case 0x458B: // 8B 45 XX = mov eax, dword ptr [ebp+XXh]
case 0x5D8B: // 8B 5D XX = mov ebx, dword ptr [ebp+XXh]
case 0xEC83: // 83 EC XX = sub esp, XX
+ case 0x75FF: // FF 75 XX = push dword ptr [ebp+XXh]
cursor += 3;
continue;
case 0xC1F7: // F7 C1 XX YY ZZ WW = test ecx, WWZZYYXX
OpenPOWER on IntegriCloud