1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/tools/llvm-nm
Thomas Lively a94da94d99 [WebAssembly] Remove uses of ThreadModel
Summary:
In the clang UI, replaces -mthread-model posix with -matomics as the
source of truth on threading. In the backend, replaces
-thread-model=posix with the atomics target feature, which is now
collected on the WebAssemblyTargetMachine along with all other used
features. These collected features will also be used to emit the
target features section in the future.

The default configuration for the backend is thread-model=posix and no
atomics, which was previously an invalid configuration. This change
makes the default valid because the thread model is ignored.

A side effect of this change is that objects are never emitted with
passive segments. It will instead be up to the linker to decide
whether sections should be active or passive based on whether atomics
are used in the final link.

Reviewers: aheejin, sbc100, dschuff

Subscribers: mehdi_amini, jgravelle-google, hiraditya, sunfish, steven_wu, dexonsmith, rupprecht, jfb, jdoerfert, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D58742

llvm-svn: 355112
2019-02-28 18:39:08 +00:00
..
AArch64 [llvm-nm] Print out N_COLD_FUNC as "cold func" 2019-01-26 00:33:15 +00:00
ARM [llvm-nm] Use WithColor for error reporting 2018-11-11 22:12:21 +00:00
wasm [WebAssembly] Remove uses of ThreadModel 2019-02-28 18:39:08 +00:00
X86 Revert "Improve "llvm-nm -f sysv" output for Elf files" 2019-02-26 07:04:56 +00:00
invalid-input.test
libtool-response-file.test [llvm-nm] Include the text "@FILE" in the output of --help 2018-10-11 06:53:38 +00:00
lit.local.cfg [WebAssembly] Ensure BasicSymbolRef.getRawDataRefImpl().p is non-null 2019-01-29 22:22:32 +00:00