This is an archive of the discontinued LLVM Phabricator instance.

Add IDs and clone methods to NativeRawSymbol
ClosedPublic

Authored by amccarth on Jun 21 2017, 2:57 PM.

Details

Reviewers
zturner
Summary

All NativeRawSymbols will have a unique symbol ID (retrievable via getSymIndexId). For now, these are initialized to 0, but soon the NativeSession will be responsible for creating the raw symbols, and it will assign unique IDs.

The symbol cache in the NativeSession will also require the ability to clone raw symbols, so I've provided implementations for that as well.

Diff Detail

Event Timeline

amccarth created this revision.Jun 21 2017, 2:57 PM
zturner accepted this revision.Jun 22 2017, 10:55 AM
This revision is now accepted and ready to land.Jun 22 2017, 10:55 AM
amccarth closed this revision.Dec 19 2019, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2019, 9:36 AM