[cfe-commits] [patch] Add codegen support for __debugbreak

Eli Friedman eli.friedman at gmail.com
Tue Sep 25 12:24:59 PDT 2012


On Tue, Sep 25, 2012 at 4:04 AM, Nico Weber <thakis at chromium.org> wrote:
> Hi,
>
> this tiny patch lets __debugbreak() do the same as __builtin_trap()
> (instead of erroring out with "can't compile __debugbreak yet"). Ok?

If you're going to implement __debugbreak(), please do it correctly...
it's "call void @llvm.x86.int(i8 3)".

-Eli



More information about the cfe-commits mailing list