Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/lsan/lsan_common.h | ||
---|---|---|
106–108 | why do we both? |
compiler-rt/lib/lsan/lsan_common.h | ||
---|---|---|
106–108 | Because code in lsan_common_fuchsia.cpp should not depend on LSAN specific function like GetLsanThreadRegistryLocked. That is the reason why we were getting unresolved external for ASAN builds. |
compiler-rt/lib/asan/asan_thread.cpp | ||
---|---|---|
518 | ||
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
154 | P1, ingore other comment if this one works I guess the only problem that we have empty SuspendedThreadsListFuchsia instead of stuff on line 149 |
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
---|---|---|
154 |
what about this? seems easy and will make fuchsia loop consistent with the rest |
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
---|---|---|
154 | Could you please elaborate or provide sample code? |
I think this should work. I added ScanExtraStackRanges helper which is used both by lsan_common.cpp and lsan_common_fuchsia.cpp.
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
---|---|---|
148–154 |
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
---|---|---|
148–154 | I see, this does not work :( |
compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
---|---|---|
148–154 | This shapshot compiles on Fuchsia. |