about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMatt Ickstadt <mattico8@gmail.com>2016-09-01 13:52:33 -0500
committerMatt Ickstadt <mattico8@gmail.com>2016-09-04 16:12:01 -0500
commitb9a8c1a06300c4d042b5455d83cacd689bad6283 (patch)
tree0e5d85cee754fc95945e327dee3d05873fd2b9df /src/test/incremental/thinlto
parente77d86c142ae668038dd43594d04022cbd6bf4d8 (diff)
downloadrust-b9a8c1a06300c4d042b5455d83cacd689bad6283.tar.gz
rust-b9a8c1a06300c4d042b5455d83cacd689bad6283.zip
Fix incorrect LLVM Linkage enum
The `Linkage` enum in librustc_llvm got out of sync with the version in LLVM and it caused two variants of the #[linkage=""] attribute to break.

This adds the functions `LLVMRustGetLinkage` and `LLVMRustSetLinkage` which convert between the Rust Linkage enum and the LLVM one, which should stop this from breaking every time LLVM changes it.

Fixes #33992
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions