This is an archive of the discontinued LLVM Phabricator instance.

Debug Info: Modified DIBuilder::createCompileUnit() to take DIFile instead of FileName and Directory. (Clang part)
ClosedPublic

Authored by aaboud on Dec 14 2016, 9:08 AM.

Details

Summary

Changed DIBuilder::createCompileUnit() to take DIFile instead of FileName and Directory.
This way it will be easier to expand DIFile (e.g., to contain checksum) without the need to modify the createCompileUnit() API.

Diff Detail

Event Timeline

aaboud updated this revision to Diff 81397.Dec 14 2016, 9:08 AM
aaboud retitled this revision from to Debug Info: Modified DIBuilder::createCompileUnit() to take DIFile instead of FileName and Directory. (Clang part).
aaboud updated this object.
aaboud added a reviewer: rnk.
aaboud added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.