[PATCH] D27152: Merge strings using sharded hash tables.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 10 14:12:01 PST 2016


Rui Ueyama via Phabricator via llvm-commits


> +  // If threading is disabled, use the default string table builder
> +  // because our concurrent one is not as fast as the single-threaded
> +  // one on single core.
> +  if (!Config->Threads || StringRef(getenv("LLD_TEST")) == "1") {
> +    Builder.reset(new StringTableBuilder(StringTableBuilder::RAW, Alignment));
>      finalizeNoTailMerge();
> +    return;
> +  }
> +

This means we produce different results with threads disabled?
What is the LLD_TEST thing?

Cheers,
Rafael


More information about the llvm-commits mailing list