diff options
author | Sean Callanan <scallanan@apple.com> | 2011-11-02 18:09:01 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-11-02 18:09:01 +0000 |
commit | c832475cd2de10de1a1116bd1a1fb9b02da6b286 (patch) | |
tree | bd4a6a3e8f8c297f778045a583f9d761a07d903a /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | 9cf803c4bf79f3619fa2735988cdf3a47998ca52 (diff) | |
download | bcm5719-llvm-c832475cd2de10de1a1116bd1a1fb9b02da6b286.tar.gz bcm5719-llvm-c832475cd2de10de1a1116bd1a1fb9b02da6b286.zip |
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.
llvm-svn: 143560
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 3d5b02400e2..e4151bd18ee 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -3016,7 +3016,7 @@ ClangExpressionDeclMap::AddOneType(NameSearchContext &context, 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, |