[PATCH] D27762: Debug Info: Modified DIBuilder::createCompileUnit() to take DIFile instead of FileName and Directory. (LLVM part)

Amjad Aboud via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 09:08:56 PST 2016


aaboud created this revision.
aaboud added a reviewer: rnk.
aaboud added a subscriber: llvm-commits.

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.


https://reviews.llvm.org/D27762

Files:
  include/llvm/IR/DIBuilder.h
  lib/IR/DIBuilder.cpp
  unittests/IR/IRBuilderTest.cpp
  unittests/IR/VerifierTest.cpp
  unittests/Transforms/Utils/Cloning.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27762.81396.patch
Type: text/x-patch
Size: 8715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161214/17a6b4d3/attachment.bin>


More information about the llvm-commits mailing list