[dsymutil] Identify each CompileUnit with a unique ID.
authorFrederic Riss <friss@apple.com>
Sat, 14 Mar 2015 03:46:40 +0000 (03:46 +0000)
committerFrederic Riss <friss@apple.com>
Sat, 14 Mar 2015 03:46:40 +0000 (03:46 +0000)
commit1d6cc768e544807992d000f62973f11f2a9000d2
treef9124264f8175c4e17a62ac7e8ae35c72dc4a079
parentfb5115d02abcc310804d9bfb4657f9f76c42f7a8
[dsymutil] Identify each CompileUnit with a unique ID.

The ID can eg. de used in MCSymbol names to differentiate the ones
that need to be created for every unit.
The ID is a constructor parameter and not a static class member so
there is no issue with counter updates if we decide to thread that
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232245 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/DwarfLinker.cpp