diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2013-11-22 21:43:23 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2013-11-22 21:43:23 +0000 |
commit | 7c6bb6500e6c9f993d29008812a66b4af8ba7ad8 (patch) | |
tree | ab90ecbd7c5c53beceda5af572186bcd15caa34b /llvm/test/DebugInfo/X86/empty-array.ll | |
parent | 374c2bb37e7bbc4585cd6b7cd525e2ba09d8d497 (diff) | |
download | bcm5719-llvm-7c6bb6500e6c9f993d29008812a66b4af8ba7ad8.tar.gz bcm5719-llvm-7c6bb6500e6c9f993d29008812a66b4af8ba7ad8.zip |
On Windows, typeids are different between DLLs and EXEs, so comparing
type_info* will work for typeids from the same compiled file but fail
for typeids from a DLL and an executable. Among other things, exceptions
are not caught by handlers since can_catch() returns false.
Defining _LIBCXX_DYNAMIC_FALLBACK does not help since can_catch() calls
is_equal() with use_strcmp=false so the string names are not compared.
This patch compares typeids first (cheap) and only they are different
calls strcmp.
llvm-svn: 195502
Diffstat (limited to 'llvm/test/DebugInfo/X86/empty-array.ll')
0 files changed, 0 insertions, 0 deletions