[PATCH] D28131: [libcxx] Fix PR31402: map::__find_equal_key has undefined behavior.

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 29 15:33:15 PST 2016


vsk added a comment.

LGTM. I'm not sure what to do for a test. Have you tried checking the IR for the affected object file in tablegen at '-O2 -fsanitize=undefined'? If there's an unconditional call to the ubsan handler, maybe the tablegen source could be used to find a small reproducer?


https://reviews.llvm.org/D28131





More information about the cfe-commits mailing list