mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 08:57:43 +08:00
Future symbol insertions can potentially change the type of these symbols - keep pointers to the base class to reflect this, and use dynamic casts to inspect them before using as the subclass type. This fixes crashes that were possible before, by touching these symbols that now are populated as e.g. a DefinedRegular, via the old pointers with DefinedImportThunk type. Differential Revision: https://reviews.llvm.org/D48953 llvm-svn: 336652
8 lines
80 B
ArmAsm
8 lines
80 B
ArmAsm
.global otherFunc
|
|
.global MessageBoxA
|
|
.text
|
|
otherFunc:
|
|
ret
|
|
MessageBoxA:
|
|
ret
|