OSDN Git Service

Change the marker byte for stubs from 0xcd to 0xce (another form of
authorDale Johannesen <dalej@apple.com>
Tue, 15 Sep 2009 18:32:14 +0000 (18:32 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 15 Sep 2009 18:32:14 +0000 (18:32 +0000)
commit7d1a7c0417c0e570c8126b373af76fc2fa609841
tree71081f80e2ce11a6d2dc3099df093fcdc66f8589
parentdffb6e5aee9607d78732824f00bf0f4a8a6fba9b
Change the marker byte for stubs from 0xcd to 0xce (another form of
interrupt instruction, which shouldn't arise any other way).  0xcd is
also used by JITMemoryManager to initialize the buffer to garbage,
which means it could appear following a noreturn call even when
that is not a stub, confusing X86CompilationCallback2.  PR 4929.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86JITInfo.cpp