aeubanks added a comment. Herald added a subscriber: JDevlieghere. lldb crash repro
$ cat /tmp/a.cc #include <vector> void f(std::vector<int>& v) { *(volatile int*) nullptr = 0; } $ cat /tmp/main.cc #include <vector> void f(std::vector<int>& v); int main() { std::vector<int> v ; f(v); } $ ./build/bin/clang++ -g /tmp/a.cc -o /tmp/a.so -shared -stdlib=libc++ -fuse-ld=lld -Wl,-rpath,$PWD/build/rel/lib $ ./build/bin/clang++ -g /tmp/main.cc /tmp/a.so -o /tmp/a -stdlib=libc++ -fuse-ld=lld -Wl,-rpath,$PWD/build/rel/lib $ ./build/bin/lldb /tmp/a -b -o run # crash any help with adding a test case for this would be appreciated, I'm not sure if there's any testing for shared libraries in lldb? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137983/new/ https://reviews.llvm.org/D137983 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits