[llvm-dev] Début info

Adrian Prantl via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 17 08:35:44 PDT 2015


> On Sep 17, 2015, at 3:19 AM, Régis Portalez via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi.
> 
> We recently switched from 3.5 to 3.7 and it seems that some instructions don't have any related DebugInfo.
> Typically the  getelementptr instructions which are inlined when accessing global structs.
> 
> I'd like to know if this is expected. If yes, what debug info should I associate? The one from previous instruction? Maybe the next? Maybe the parent block?

Are you talking about IR that is generated by clang or by a different frontend? The general expectations is that all instructions have debug info attached to them, since no debug information is a special cue to the backend to mark the function prologue.

-- adrian
> 
> Many thanks
> 
> Regis Portalez
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list