about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-09 13:36:32 +0200
committerGitHub <noreply@github.com>2020-05-09 13:36:32 +0200
commitce05553c62689bd58184970cf58e59a663cc4658 (patch)
tree836c9cb6fc1b58e02bffab0d1e1ab2b7e0d4a3fe /library/std/src/sys/unix/stack_overflow.rs
parent1704dca270e86f5d33c84e1952897c2c33ad5256 (diff)
parent0e7d5be4b808bd7ccb1d45aa8f7e5026a15aee93 (diff)
downloadrust-ce05553c62689bd58184970cf58e59a663cc4658.tar.gz
rust-ce05553c62689bd58184970cf58e59a663cc4658.zip
Rollup merge of #71234 - maurer:init-array, r=cuviper
rustllvm: Use .init_array rather than .ctors

LLVM TargetMachines default to using the (now-legacy) .ctors
representation of init functions. Mixing .ctors and .init_array
representations can cause issues when linking with lld.

This happens in practice for:

* Our profiling runtime which is currently implicitly built with
  .init_array since it is built by clang, which sets this field.
* External C/C++ code that may be linked into the same process.

Fixes: #71233
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions