[lld] Manage atom ordinals in the File class rather than using a static counter.
authorLang Hames <lhames@gmail.com>
Fri, 22 May 2015 23:56:44 +0000 (23:56 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 22 May 2015 23:56:44 +0000 (23:56 +0000)
commit825e258fc36fcd645d38f38bd835a60616832181
tree8117594c99ab62be81b3f9af67a36a8e4497ad38
parent7c78ef7dd9d9ce3bc32ae825210ab440f0529378
[lld] Manage atom ordinals in the File class rather than using a static counter.

This is a cleaner fix for the race-condition bug that was originally papered
over by r237857.

llvm-svn: 238072
lld/include/lld/Core/File.h
lld/include/lld/Core/Simple.h