summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/LanguageRuntime.cpp
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2019-06-08 18:45:00 +0000
committerAlex Langford <apl@fb.com>2019-06-08 18:45:00 +0000
commit056f6f1856513209b46f68ca119e6fcf09aae604 (patch)
tree2432d841afeff8e8f7f84e9516b827cf768c28c6 /lldb/source/Target/LanguageRuntime.cpp
parent6ddd7aa4c3015e45b6624eb1f1e166a4fcf9cec7 (diff)
downloadbcm5719-llvm-056f6f1856513209b46f68ca119e6fcf09aae604.tar.gz
bcm5719-llvm-056f6f1856513209b46f68ca119e6fcf09aae604.zip
[LanguageRuntime] Introduce LLVM-style casts
Summary: Using llvm-style rtti gives us stronger guarantees around casting LanguageRuntimes. As discussed in D62755 Differential Revision: https://reviews.llvm.org/D62934 llvm-svn: 362884
Diffstat (limited to 'lldb/source/Target/LanguageRuntime.cpp')
-rw-r--r--lldb/source/Target/LanguageRuntime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp
index 5c336ce3372..f60ea574038 100644
--- a/lldb/source/Target/LanguageRuntime.cpp
+++ b/lldb/source/Target/LanguageRuntime.cpp
@@ -17,6 +17,8 @@
using namespace lldb;
using namespace lldb_private;
+char LanguageRuntime::ID = 0;
+
ExceptionSearchFilter::ExceptionSearchFilter(const lldb::TargetSP &target_sp,
lldb::LanguageType language,
bool update_module_list)
OpenPOWER on IntegriCloud