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