This patch adds a new GetIndexForLineEntry method to the SBCompileUnit
class. As the name suggests, given an SBLineEntry object, this will
return the line entry index within a specific compile unit.
This method can take a exact boolean that will make sure that the
provided line entry matches perfectly another line entry in the compile unit.
rdar://47450887
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
How's this different from FindLineEntryIndex? In other words why not make this an FindLineEntryIndex overload? It would be good to document this here (too).