[PATCH] D41104: Set the NoRecurse attribute for the dbg intrinsics.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 11:17:06 PST 2017


efriedma added a comment.

I guess...?  I don't like proposing new attributes, but I don't see an alternative.  (Granted, it could get a little tricky to define precisely what the attribute means given that our runtime functions are written in C.)

If you just want to fix the debuginfo issue, you could just check specifically for debuginfo intrinsics in the FunctionAttrs pass; we treat them specially in many passes.


https://reviews.llvm.org/D41104





More information about the llvm-commits mailing list