[llvm-commits] [llvm] r156593 - in /llvm/trunk: docs/LangRef.html include/llvm/CodeGen/ISDOpcodes.h include/llvm/Intrinsics.td include/llvm/Target/TargetSelectionDAG.td lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp lib/CodeGen/SelectionDAG/Selec...

Dan Gohman gohman at apple.com
Fri May 11 08:21:14 PDT 2012


On May 11, 2012, at 12:16 AM, Richard Osborne wrote:

> On 11 May 2012, at 01:19, Dan Gohman wrote:
> 
>> Author: djg
>> Date: Thu May 10 19:19:32 2012
>> New Revision: 156593
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=156593&view=rev
>> Log:
>> Define a new intrinsic, @llvm.debugger. It will be similar to __builtin_trap(),
>> but it generates int3 on x86 instead of ud2.
> 
> Might @llvm.debugtrap be a better name? @llvm.debugger doesn't really suggest what the intrinisic is used for (apart from it being something to do with debugging).

I can see how it would be confusing.  I'll ask the people requiring this about your
suggested name, and possible alternatives.

Dan




More information about the llvm-commits mailing list