Commit d7496f65 authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by Logan Chien
Browse files

Name anonymous records, don't depend on fully qualified name for type-id.

- Use 'anonymous at <source>:<line>:<column>' as a name for anonymous records
  within a translation unit

- Don't depend on clang's getFullyQualifiedName() for computing type-ids since
  it isn't reliable (can miss out qualification of template parameters).
  Factor in the final destination type, i.e either built-in type name or
  tag type mangledCXXRTTI name. This is an internal name and not exposed
  through intermediate .sdump files, so should not affect backwards
  compatibility.

Bug: 77649155

Test: tests/test.py

Change-Id: I8890cc59fbe24fb6083e191d69be7fff45b51861
Merged-In: I8890cc59fbe24fb6083e191d69be7fff45b51861
(cherry picked from commit dd38a738)
parent 6d3f245d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment