Have the skeleton compile unit construction method take the CU it
authorEric Christopher <echristo@gmail.com>
Mon, 26 Aug 2013 23:50:43 +0000 (23:50 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 26 Aug 2013 23:50:43 +0000 (23:50 +0000)
commita9b2c79e266a29aac47b2c38b218ee8d9b052c15
treea0bcbb1da7dd47b216a7ead907c84cc8e02c5540
parent4c65ab79a7bc1c7121fcba738464266dd8efd053
Have the skeleton compile unit construction method take the CU it
is constructing from as an input and keep the same unique identifier.
We can use this to connect items which must stay in the .o file
(e.g. pubnames and pubtypes) to the skeleton cu rather than having
duplicate unique numbers for the sections and needing to do lookups
based on MDNode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189293 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h