<div dir="ltr">Ahh, I guess that's why that star was there before, maybe it makes the entire symbol optional?  Anyway lgtm</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 18, 2016 at 8:36 AM Ewan Crawford <<a href="mailto:ewan@codeplay.com">ewan@codeplay.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">EwanCrawford created this revision.<br>
EwanCrawford added reviewers: sivachandra, zturner, labath.<br>
EwanCrawford added a subscriber: lldb-commits.<br>
EwanCrawford set the repository for this revision to rL LLVM.<br>
<br>
Commit r260721(<a href="http://reviews.llvm.org/D17182" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17182</a>) introduced the following error when building for OSX using cmake:<br>
<br>
Undefined symbols for architecture x86_64:<br>
  "_PyInit__lldb", referenced from:<br>
     -exported_symbol[s_list] command line option<br>
ld: symbol(s) not found for architecture x86_64<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
<br>
Adding '*' to the regex solves this problem but I'm building with Python 2.7 instead of 3 so can't test thoroughly.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D17384" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17384</a><br>
<br>
Files:<br>
  source/API/liblldb.exports<br>
<br>
Index: source/API/liblldb.exports<br>
===================================================================<br>
--- source/API/liblldb.exports<br>
+++ source/API/liblldb.exports<br>
@@ -1,4 +1,4 @@<br>
 _ZN4lldb*<br>
 _ZNK4lldb*<br>
 init_lld*<br>
-PyInit__lldb<br>
+PyInit__lldb*<br>
<br>
<br>
</blockquote></div>