diff options
-rw-r--r-- | lldb/lldb.xcodeproj/project.pbxproj | 1 | ||||
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/lldb/lldb.xcodeproj/project.pbxproj b/lldb/lldb.xcodeproj/project.pbxproj index 9ae6a2ecdda..41677b59cb7 100644 --- a/lldb/lldb.xcodeproj/project.pbxproj +++ b/lldb/lldb.xcodeproj/project.pbxproj @@ -3087,6 +3087,7 @@ ); LLVM_BUILD_DIR = "$(SRCROOT)/llvm"; LLVM_CONFIGURATION = "Debug+Asserts"; + ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = ( "-DFOR_DYLD=0", "-DSUPPORT_REMOTE_UNWINDING", diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 4b540c0fa38..1c373aa0d25 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -1288,9 +1288,6 @@ ClangExpressionDeclMap::AddOneFunction(NameSearchContext &context, if (fun) { -#define BROKEN_OVERLOADING - // Awaiting a fix on the Clang side -#ifndef BROKEN_OVERLOADING Type *fun_type = fun->GetType(); if (!fun_type) @@ -1316,11 +1313,6 @@ ClangExpressionDeclMap::AddOneFunction(NameSearchContext &context, void *copied_type = ClangASTContext::CopyType(context.GetASTContext(), fun_ast_context, fun_opaque_type); fun_decl = context.AddFunDecl(copied_type); -#else - fun_address = &fun->GetAddressRange().GetBaseAddress(); - - fun_decl = context.AddGenericFunDecl(); -#endif } else if (symbol) { |