aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringExtras.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-04-13 19:16:20 -0700
committerThomas Lively <tlively@google.com>2020-04-14 13:49:28 -0700
commit6474d1b20ea74982f9446a11b367a5936b6bbbdd (patch)
tree35fb7349032ef6b8f4ee3aea7817bf82246e07e3 /llvm/lib/Support/StringExtras.cpp
parent5f07dcd23c2dac5b34115df07d3ae629c35c6eb3 (diff)
downloadllvm-6474d1b20ea74982f9446a11b367a5936b6bbbdd.zip
llvm-6474d1b20ea74982f9446a11b367a5936b6bbbdd.tar.gz
llvm-6474d1b20ea74982f9446a11b367a5936b6bbbdd.tar.bz2
[lld][WebAssembly] Do not require --shared-memory with --relocatable
Summary: wasm-ld requires --shared-memory to be passed when the atomics feature is enabled because historically atomic operations were only valid with shared memories. This change relaxes that requirement for when building relocatable objects because their memories are not meaningful. This technically maintains the validity of object files because the threads spec now allows atomic operations with unshared memories, although we don't support that elsewhere in the tools yet. This fixes and Emscripten build issue reported at https://bugs.chromium.org/p/webp/issues/detail?id=463. Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78072
Diffstat (limited to 'llvm/lib/Support/StringExtras.cpp')
0 files changed, 0 insertions, 0 deletions