[llvm] r195798 - Use simple section names for COMDAT sections on COFF.

Anton Korobeynikov anton at korobeynikov.info
Wed Nov 27 00:02:18 PST 2013


> -  if (Kind.isThreadLocal()) {
> -    // 'LLVM' is just an arbitary string to ensure that the section name gets
> -    // sorted in between '.tls$AAA' and '.tls$ZZZ' by the linker.
> -    return ".tls$LLVM";
> -  }
> +    return ".bss";
> +  if (Kind.isThreadLocal())
> +    return ".tls";
Please add the test to make sure you have not broke the old behavior
with .tls*, which was here for a reason.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list