When doing thunk creation, if a relocation target is defined in a thunk we need to find a way of getting to the Thunk object. This change removes the
DenseMap in ThunkCreator that stored the mapping in preference for storing a pointer to the Thunk in SymbolBody. This saves a hash lookup at the expense of adding a pointer to SymbolBody.
This was suggested in D34692
Please add blank lines above and below this member variable.
DefinedInThunk sounds like a boolean variable, so I'd give a different name, but obviously Thunk doesn't work. Do you have any suggestion?