Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This code will be used by an other sanitizer?
lib/asan/asan_win.cc | ||
---|---|---|
239 ↗ | (On Diff #86831) | You should move the comment too. |
Comment Actions
lib/sanitizer_common/sanitizer_common.h | ||
---|---|---|
384 ↗ | (On Diff #86831) | no #if please. |
lib/sanitizer_common/sanitizer_common.h | ||
---|---|---|
384 ↗ | (On Diff #86831) | 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? |
Comment Actions
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.
Comment Actions
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.