[PATCH] D17884: Disallow duplication of imported entities

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 09:18:00 PST 2016


aaboud updated this revision to Diff 49973.
aaboud added a comment.

Another try, this time I am uploading suggested solution by Don Hinton.
He is suggesting to make "imports" field in DICompileUnit of new type "unique vector".
Then we can get rid of AllImportedEntitys container and use directly the LLVMContext::impl::DIImportedEntitys instead


http://reviews.llvm.org/D17884

Files:
  include/llvm/ADT/SetVector.h
  include/llvm/IR/Metadata.def
  lib/IR/DIBuilder.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/Metadata.cpp
  lib/IR/MetadataImpl.h
  unittests/IR/IRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17884.49973.patch
Type: text/x-patch
Size: 10648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160307/c0914d3e/attachment.bin>


More information about the llvm-commits mailing list