[PATCH] D28596: [compiler-rt] General definition for weak functions.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 17:16:53 PST 2017


mpividori added a comment.

But that doesn't work, we shouldn't define `__ubsan_default_options` on Windows. It must be a "weak alias" to a default implementation "__ubsan_default_options__def". 
And "__ubsan_default_options__def" shouldn't exist in non-windows systems, where you can define weak functions.


https://reviews.llvm.org/D28596





More information about the llvm-commits mailing list