[PATCH] D11004: [asan] Rename the ABI versioning symbol to '__asan_version_mismatch_check' instead abusing '__asan_init'
kuba.brecka at gmail.com
Tue Jul 21 09:06:03 PDT 2015
kubabrecka retitled this revision from "[asan] Change ABI versioning to include release numbers" to "[asan] Rename the ABI versioning symbol to '__asan_version_mismatch_check' instead abusing '__asan_init'".
kubabrecka updated this revision to Diff 30261.
kubabrecka added a comment.
Hi, I've removed the build system changes, and now this patch is only about renaming the symbol.
We currently version `__asan_init` and when the ABI version doesn't match, the linker gives a `undefined reference to '__asan_init_v5'` message. From this, it might not be obvious that it's actually a version mismatch error. This patch makes the error message much clearer by changing the name of the undefined symbol to be `__asan_version_mismatch_check_xxx` (followed by the version string). We obviously don't want the initializer to be named like that, so it's a separate symbol that is used only for the purpose of version checking.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7880 bytes
Desc: not available
More information about the llvm-commits