llvm-project
5d16a18c - [Metadata] Return the valid DebugLoc if one of them is null with -pick-merged-source-locations. (#138148)

Commit
151 days ago
[Metadata] Return the valid DebugLoc if one of them is null with -pick-merged-source-locations. (#138148) Previously when getMergedLocation was passed nullptr as one of the parameters we returned nullptr. Change that behaviour to instead return a valid DebugLoc. This is beneficial for binaries from which SamplePGO profiles are obtained.
Author
Snehasish Kumar
Parents
Loading