This basically already worked other than weak symbols needing definitions on darwin.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
please move sanitizer_common/TestCases/Linux/weak_hook_test.cc to ./sanitizer_common/TestCases/Posix/
and make sure that it works (and fails w/o you change)
lib/sanitizer_common/sanitizer_common_interceptors.inc | ||
---|---|---|
49 | Why did you remove the 'if'? |
lib/sanitizer_common/sanitizer_common_interceptors.inc | ||
---|---|---|
49 | SANITIZER_INTERFACE_WEAK_DEF defines an empty default definition, so it would always be true. |
Why did you remove the 'if'?