LangRef: @baz should be @bar in the COMDAT example

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2014-09-10 17:05:08 +00:00
parent 2c925e0e8f
commit 2bb4229297

View File

@ -783,7 +783,7 @@ In a COFF object file, this will create a COMDAT section with selection kind
``IMAGE_COMDAT_SELECT_LARGEST`` containing the contents of the ``@foo`` symbol ``IMAGE_COMDAT_SELECT_LARGEST`` containing the contents of the ``@foo`` symbol
and another COMDAT section with selection kind and another COMDAT section with selection kind
``IMAGE_COMDAT_SELECT_ASSOCIATIVE`` which is associated with the first COMDAT ``IMAGE_COMDAT_SELECT_ASSOCIATIVE`` which is associated with the first COMDAT
section and contains the contents of the ``@baz`` symbol. section and contains the contents of the ``@bar`` symbol.
There are some restrictions on the properties of the global object. There are some restrictions on the properties of the global object.
It, or an alias to it, must have the same name as the COMDAT group when It, or an alias to it, must have the same name as the COMDAT group when