Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
| compiler-rt/lib/lsan/lsan_common.h | ||
|---|---|---|
| 106–109 | why do we both? | |
| compiler-rt/lib/lsan/lsan_common.h | ||
|---|---|---|
| 106–109 | 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 | ||
|---|---|---|
| 510 | ||
| compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
| 153 | 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 | ||
|---|---|---|
| 153 |
what about this? seems easy and will make fuchsia loop consistent with the rest | |
| compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
|---|---|---|
| 153 | 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–153 | ||
| compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
|---|---|---|
| 148–153 | I see, this does not work :( | |
| compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | ||
|---|---|---|
| 148–153 | This shapshot compiles on Fuchsia. | |