about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-19 16:39:25 -0600
committerGitHub <noreply@github.com>2016-11-19 16:39:25 -0600
commit0bd2ce62b27e2b9a7dfe92fc23d9098854008089 (patch)
tree86d6fdcf938c5eadf071a2e03890f72047481d5d /src/test/run-pass/thinlto
parentbfa709a38a8c607e1c13ee5635fbfd1940eb18b1 (diff)
parent30daedf60355d105d92ad011b9e115b01350593e (diff)
downloadrust-0bd2ce62b27e2b9a7dfe92fc23d9098854008089.tar.gz
rust-0bd2ce62b27e2b9a7dfe92fc23d9098854008089.zip
Auto merge of #37831 - rkruppe:llvm-attr-fwdcompat, r=eddyb
[LLVM 4.0] Use llvm::Attribute APIs instead of "raw value" APIs

The latter will be removed in LLVM 4.0 (see https://github.com/llvm-mirror/llvm/commit/4a6fc8bacf11d8066da72cf8481467167877ed16).

The librustc_llvm API remains mostly unchanged, except that llvm::Attribute is no longer a bitflag but represents only a *single* attribute.
The ability to store many attributes in a small number of bits and modify them without interacting with LLVM is only used in rustc_trans::abi and closely related modules, and only attributes for function arguments are considered there.
Thus rustc_trans::abi now has its own bit-packed representation of argument attributes, which are translated to rustc_llvm::Attribute when applying the attributes.

cc #37609
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions