projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37672e
)
Use !hasLocalLinkage instead of listing the symbol types
author
Jim Ingham
<jingham@apple.com>
Thu, 29 Oct 2020 21:43:03 +0000
(14:43 -0700)
committer
Jim Ingham
<jingham@apple.com>
Thu, 29 Oct 2020 21:44:06 +0000
(14:44 -0700)
we should be exporting one by one.
Differential Revision: https://reviews.llvm.org/D78972
lldb/source/Expression/IRExecutionUnit.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Expression/IRExecutionUnit.cpp
b/lldb/source/Expression/IRExecutionUnit.cpp
index
e3c9c1d
..
538935d
100644
(file)
--- a/
lldb/source/Expression/IRExecutionUnit.cpp
+++ b/
lldb/source/Expression/IRExecutionUnit.cpp
@@
-328,8
+328,7
@@
void IRExecutionUnit::GetRunnableInfo(Status &error, lldb::addr_t &func_addr,
if (function.isDeclaration() || function.hasPrivateLinkage())
continue;
- const bool external =
- function.hasExternalLinkage() || function.hasLinkOnceODRLinkage();
+ const bool external = !function.hasLocalLinkage();
void *fun_ptr = m_execution_engine_up->getPointerToFunction(&function);