jingham added a comment. It isn't safe to pass "data()" of a StringRef to dlsym.
Also, it's a little weird that the library name is a "const char *" but the symbol name is a StringRef? Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59854/new/ https://reviews.llvm.org/D59854 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits