]> granicus.if.org Git - clang/commit
[DebugInfo] Changed DIBuilder::createCompileUnit() to take DIFile instead of FileName...
authorAmjad Aboud <amjad.aboud@intel.com>
Wed, 14 Dec 2016 20:24:40 +0000 (20:24 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Wed, 14 Dec 2016 20:24:40 +0000 (20:24 +0000)
commitd582c5585daabd10b41a9c082c19177ae18dbb89
tree9eae146a05e482a86ac67ce285673c264bd7f4ef
parent3338f4ed280d4fa27ebb116f45f92afb807e5ba7
[DebugInfo] 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.

Reviewers: cfe-commits, rnk

Differential Revision: https://reviews.llvm.org/D27763

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp