This is somewhat based on D8513 by Kuba Brecka.
Details
Diff Detail
Event Timeline
Cool, I believe it's a step in right direction. Feel free to submit after fixing a few comments below.
sanitizer_linux_libcdep.cc | ||
---|---|---|
439 | Nit: we don't usually use non-const references. Can you change it to pointer? | |
sanitizer_procmaps_common.cc | ||
145 | Ditto | |
sanitizer_procmaps_mac.cc | ||
174 | nullptr | |
sanitizer_symbolizer.h | ||
143 | You don't need this function - it just calls ::GetListOfModules() in both implementations. Please delete it. | |
sanitizer_win.cc | ||
363 | See comment about non-const reference above. |
r234150, thanks for the review!
Please take a look at the FIXME I've added to lib/sanitizer_common/sanitizer_common.h
sanitizer_linux_libcdep.cc | ||
---|---|---|
439 | Umm, yeah. Fixed | |
sanitizer_procmaps_common.cc | ||
145 | Done | |
sanitizer_procmaps_mac.cc | ||
174 | I haven't changed that code really, but fixed anyways. | |
sanitizer_symbolizer.h | ||
143 | This is a little tricky, as it fails to link as GetListOfModules is in libcdep nowadays... |
Nit: we don't usually use non-const references. Can you change it to pointer?