Updated LLVM/Clang to pull in an MCJIT fix that
allows us to set __attribute__ ((used)) on expressions
that masquerade as methods. When we are stopped in
classes in anonymous namespaces, this fix (and enabling
__attribute__ ((used)) on the method) will allow
expressions to run.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143560 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index 3d5b024..e4151bd 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -3016,7 +3016,7 @@
const bool is_static = false;
const bool is_inline = false;
const bool is_explicit = false;
- const bool is_attr_used = false;
+ const bool is_attr_used = true;
const bool is_artificial = false;
ClangASTContext::AddMethodToCXXRecordType (parser_ast_context,