[PATCH] Do not attach a debug location to code inserted by ARC / API for disabling DebugLocations
Adrian Prantl
aprantl at apple.com
Fri Apr 5 17:22:57 PDT 2013
Patch for review, mostly for the IRBuilder::DisableDebugLocations() part.
Do not attach a debug location to code inserted by ARC --
it would create a spurious line table entry at the closing } of the scope.
Also includes a patch for IRBuilder to temporarily disable debug locations from being attached to every instruction that is inserted. Useful if you want an instruction to be counted towards the prologue or if there _is_ no useful source location.
rdar://problem/13442648
thanks,
adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-attach-a-line-number-to-ARC-specific-cleanup-.patch
Type: application/octet-stream
Size: 5130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130405/e4c37d35/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Provide-an-API-to-temporarily-suppress-DebugLocation.patch
Type: application/octet-stream
Size: 1793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130405/e4c37d35/attachment-0001.obj>
More information about the cfe-commits
mailing list