[PATCH] D18002: Add an LLVM_BUILTIN_DEBUGTRAP macro.
Mark Lacey via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 16:05:10 PST 2016
rudkx added a comment.
Thanks for taking a look!
I agree that it's a bit odd that both do the same for MSVC, but it seems like the right fix for that issue is to change LLVM_BUILTIN_TRAP to fail differently than using __debugbreak (either RaiseException which appears to be deliberately avoided, or inline asm with ud2 perhaps?).
http://reviews.llvm.org/D18002
More information about the llvm-commits
mailing list