This is an archive of the discontinued LLVM Phabricator instance.

[Reproducer] Include the this pointer in the API log.
ClosedPublic

Authored by JDevlieghere on Sep 13 2019, 12:07 AM.

Details

Summary

The new centralized way of doing API logging through the reproducer
macros is lacking a way to easily correlate instances of API objects.
Logging the this pointer makes that significantly easier. For methods
this is now always passed as the first argument, similar to the self
argument in Python.

This patch also adds a test case for API logging, which uncovered that
we were not quoting strings.

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere created this revision.Sep 13 2019, 12:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2019, 12:07 AM
Herald added a subscriber: abidh. · View Herald Transcript
This revision is now accepted and ready to land.Sep 13 2019, 10:25 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2019, 12:06 PM