Add a comment on kindLayoutBefore.
authorRui Ueyama <ruiu@google.com>
Thu, 27 Mar 2014 22:19:14 +0000 (22:19 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 27 Mar 2014 22:19:14 +0000 (22:19 +0000)
llvm-svn: 204970

lld/include/lld/Core/Reference.h

index c1d62cc..c525249 100644 (file)
@@ -78,6 +78,9 @@ public:
   enum {
     kindInGroup = 1,
     kindLayoutAfter = 2,
+    // kindLayoutBefore is currently used only by dead-stripping pass in
+    // the Resolver. Will be removed soon. To enforce layout, use
+    // kindLayoutAfter instead.
     kindLayoutBefore = 3,
     kindGroupChild = 4,
     kindGroupParent = 5