aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-05-15 18:40:24 +0000
committerGreg Clayton <gclayton@apple.com>2015-05-15 18:40:24 +0000
commit1548440c452b0cd0bbaf898645f0565d7e119e38 (patch)
tree3278033c3c282bf398feebabeeefbd36f45e7b4c /clang/lib/CodeGen/CodeGenModule.cpp
parent286ea2342d11a1fc00ddab83a8e1f2fe9467f333 (diff)
downloadllvm-1548440c452b0cd0bbaf898645f0565d7e119e38.zip
llvm-1548440c452b0cd0bbaf898645f0565d7e119e38.tar.gz
llvm-1548440c452b0cd0bbaf898645f0565d7e119e38.tar.bz2
OperatingSystem plug-ins need to avoid running code when fetching thread lists. This patch helps with that by making all SBValue objects that are fetched not try to do dynamic type resolution. Objective C can end up running code to fetch a list of all ISA pointers so we can tell when something is dynamic and this running code could cause the OS plug-in to continue the target.
This fix disabled dynamic types, fetches the new threads from the OS plug-in, then restores the setting. <rdar://problem/20768407> llvm-svn: 237465
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions