[PATCH] D77623: [Darwin] Fix a bug where the symbolizer would examine the wrong process.
Julian Lettner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 7 11:23:17 PDT 2020
yln added inline comments.
================
Comment at: compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp:45
+ const char *library_to_load = argv[1];
+ void *handle = dlopen(library_to_load, RTLD_NOW | RTLD_LOCAL);
+ assert(handle);
----------------
Can you explain why the separately loaded lib/dlopen is required to trigger the error condition? From the commit message I thought that a fork should be enough? Other than that: LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77623/new/
https://reviews.llvm.org/D77623
More information about the llvm-commits
mailing list