Details
Diff Detail
Event Timeline
This code will be used by an other sanitizer?
lib/asan/asan_win.cc | ||
---|---|---|
239 | You should move the comment too. |
lib/sanitizer_common/sanitizer_common.h | ||
---|---|---|
384 | no #if please. |
lib/sanitizer_common/sanitizer_common.h | ||
---|---|---|
384 | sanitizer_common.h has a lot of #ifs, so I thought this was acceptable. If we just remove the if here, a caller will get a link error. Would you prefer that? |
The amount if #if statements is extremely annoying, but we clearly don't want any more.
I am not sure why you need this function declaration in lib/sanitizer_common/sanitizer_common.h
given that it's definition and its use is in *win* files.
Because we don't have a specific header for Windows interface in sanitizer_common. If you prefer, I can create: sanitizer_windows.h and add it there.
You should move the comment too.