mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Debug Break,SafeBreak,IsDebuggerPresent. [NoDebug]
This commit is contained in:
parent
42a361a8c0
commit
06f6c41679
6 changed files with 43 additions and 1 deletions
|
@ -413,6 +413,7 @@ enum BfIRIntrinsic : uint8
|
|||
BfIRIntrinsic_BSwap,
|
||||
BfIRIntrinsic_Cast,
|
||||
BfIRIntrinsic_Cos,
|
||||
BfIRIntrinsic_DebugTrap,
|
||||
BfIRIntrinsic_Div,
|
||||
BfIRIntrinsic_Eq,
|
||||
BfIRIntrinsic_Floor,
|
||||
|
|
|
@ -153,10 +153,11 @@ static const BuiltinEntry gIntrinEntries[] =
|
|||
{"atomic_umax"},
|
||||
{"atomic_umin"},
|
||||
{"atomic_xchg"},
|
||||
{"atomic_xor"},
|
||||
{"atomic_xor"},
|
||||
{"bswap"},
|
||||
{"cast"},
|
||||
{"cos"},
|
||||
{"debugtrap"},
|
||||
{"div"},
|
||||
{"eq"},
|
||||
{"floor"},
|
||||
|
@ -2422,6 +2423,7 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
{ llvm::Intrinsic::bswap, -1},
|
||||
{ (llvm::Intrinsic::ID)-2, -1}, // cast,
|
||||
{ llvm::Intrinsic::cos, 0, -1},
|
||||
{ llvm::Intrinsic::debugtrap, -1}, // debugtrap,
|
||||
{ (llvm::Intrinsic::ID)-2, -1}, // div
|
||||
{ (llvm::Intrinsic::ID)-2, -1}, // eq
|
||||
{ llvm::Intrinsic::floor, 0, -1},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue