Not hard. Just find a test that has a shared library and copy it. Modify the 
shared library to create a symbol named "a". Then the main executable, just run 
the same lambda expression and it will fail on all platforms. The current fix 
in the review is just for internal symbols in other shared libraries, so don't 
make "a" public if you want it to pass. Did you say that "a" in libmath was 
public?

Greg

> On Oct 25, 2017, at 4:10 PM, Davide Italiano via Phabricator 
> <revi...@reviews.llvm.org> wrote:
> 
> davide added a comment.
> 
> Thanks, I'll try this patch tomorrow.
> I know this may be a little off, but how hard is to write a test for this so 
> that it doesn't regress?
> 
> 
> https://reviews.llvm.org/D39307
> 
> 
> 

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to