Page MenuHomePhabricator

Do not add discriminator encoding for debug intrinsics.

Authored by danielcdh on Oct 26 2017, 1:23 PM.



There are certain requirements for debug location of debug intrinsics, e.g. the scope of the DILocalVariable should be the same as the scope of its debug location. As a result, we should not add discriminator encoding for debug intrinsics.

Event Timeline

danielcdh created this revision.Oct 26 2017, 1:23 PM
bjope added a subscriber: bjope.Oct 26 2017, 1:43 PM
JDevlieghere set the repository for this revision to rL LLVM.Oct 26 2017, 1:59 PM
JDevlieghere added subscribers: aprantl, JDevlieghere.
aprantl accepted this revision.Oct 26 2017, 2:07 PM

Correct, discriminators don't make sense for debug intrinsics.

This revision is now accepted and ready to land.Oct 26 2017, 2:07 PM
danielcdh closed this revision.Oct 26 2017, 2:21 PM