sanitizer_symbolizer_mac.cc:26 -- "unimplemented"

Hi all,

I built clang ToT yesterday and tried to build a big project (on OS X 10.7) with ubsan flags on. I get the following:

225: ==24012== Sanitizer CHECK failed: /Users/sean/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc:26 ((0 && "unimplemented")) != (0) (0, 0)

Is this an indication of it catching undefined behaviour in my code, or some unfinished work in ubsan itself, or...?

Thanks,

Sean,

My understanding is that there is still some unfinished work to be done for symbolication on OS X. See this thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-January/057633.html

Alex is working on OS X support. He might provide more info on the status of in-process symbolication/possible workarounds.

Cheers,
Anna.

Hi all,

I built clang ToT yesterday and tried to build a big project (on OS X
10.7) with ubsan flags on. I get the following:

225: ==24012== Sanitizer CHECK failed:
/Users/sean/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc:26
((0 && "unimplemented")) != (0) (0, 0)

Is this an indication of it catching undefined behaviour in my code, or
some unfinished work in ubsan itself, or...?

Hi Sean!

Sorry for the late response...
r176091 should hopefully help you. Symbolization doesn't work on Mac yet,
I'll try to fix this soon.
Try re-running your code under ubsan - it's likely the case that ubsan
detected some error and died while
trying to report it.