samasri / omr

Eclipse OMR™ Cross platform components for building reliable, high performance language runtimes
http://www.eclipse.org/omr
Other
0 stars 2 forks source link

Some hierarchies do not show in the output #3

Closed samasri closed 6 years ago

samasri commented 6 years ago

Example: This hierarchy exists: TR::AutomaticSymbol --> OMR::AutomaticSymbol --> TR::RegisterMappedSymbol --> OMR::RegisterMappedSymbol --> TR::Symbol --> OMR::Symbol Another hierarchy that exists is: TR::ParameterSymbol --> OMR::ParameterSymbol --> TR::RegisterMappedSymbol --> OMR::RegisterMappedSymbol --> TR::Symbol --> OMR::Symbol

The second hierarchy does not show in the output.

This problem can be generalized by saying all cases where 2 hierarchies have different bases but same top (merge together at some point), one of them does not show in the output

samasri commented 6 years ago

This was fixed by keeping a map of nodes and addresses and linking them accordingly