Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=360 – Using Obj-C blocks triggers a false-positive ODR violation
The change in r221451 (http://llvm.org/viewvc/llvm-project?view=revision&revision=221451) caused Obj-C related global constants to be instrumented, but the linker rearranges the sections, so the redzones break. We already added a check to skip objc_methname section from being instrumented because of this, see r221480 (http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp?view=diff&r1=221479&r2=221480&pathrev=221480). The same issue still exists for class names in objc_classname, this patch skips the __objc_classname section from being instrumented, as well.
This is not reliable, it could end with ", cstring_literals".
Can you please use MCSectionMachO::ParseSectionSpecifier to parse the section string instead?