Get the expression parser to handle missing weak symbols.
authorJim Ingham <jingham@apple.com>
Fri, 28 Jun 2019 21:40:05 +0000 (21:40 +0000)
committerJim Ingham <jingham@apple.com>
Fri, 28 Jun 2019 21:40:05 +0000 (21:40 +0000)
commitf2128b28cdb73d0ccfa2cbf508e8f9d8dc9f8eb5
treed8bfb2647511301e8808c210b0952323cc6a22de
parentb671535983fa9ceff10501bc22267e3e6c6c549e
Get the expression parser to handle missing weak symbols.
MachO only for this patch.

Differential Revision: https://reviews.llvm.org/D63914

<rdar://problem/51463642>

llvm-svn: 364686
14 files changed:
lldb/include/lldb/Expression/IRExecutionUnit.h
lldb/include/lldb/Symbol/Symbol.h
lldb/include/lldb/lldb-enumerations.h
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/TestWeakSymbols.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/dylib.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/dylib.h [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/expression_command/weak_symbols/module.modulemap [new file with mode: 0644]
lldb/source/Expression/IRExecutionUnit.cpp
lldb/source/Expression/IRInterpreter.cpp
lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Symbol/Symbol.cpp