[llvm-commits] [llvm] r62286 - in /llvm/trunk: include/llvm/CodeGen/DwarfWriter.h lib/CodeGen/AsmPrinter/DwarfWriter.cpp lib/CodeGen/SelectionDAG/FastISel.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp test/DebugInfo/2009-01-15-dbg_declare.ll

Devang Patel dpatel at apple.com
Fri Jan 16 10:05:20 PST 2009


On Jan 16, 2009, at 1:22 AM, Duncan Sands wrote:

> Hi Devang,
>
>> Validate dbg_* intrinsics before lowering them.
>
> shouldn't the verifier be doing this?



DebugInfo verifier (not yet done) will check and flag invalid debug  
info.
This code avoids lowering values like

@llvm.dbg.subprogram295 = external constant %llvm.dbg.subprogram.type,  
section "llvm.metadata"	

Validate may not be a appropriate word. Any suggestion ?
-
Devang






More information about the llvm-commits mailing list