<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustllvm/PassWrapper.cpp, branch 1.41.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.41.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.41.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-12-05T11:23:26+00:00</updated>
<entry>
<title>Auto merge of #66952 - 0dvictor:print, r=rkruppe</title>
<updated>2019-12-05T11:23:26+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-12-05T11:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e2a73867d9c0732c89da8de19d4f18a6e80dcfe'/>
<id>urn:sha1:1e2a73867d9c0732c89da8de19d4f18a6e80dcfe</id>
<content type='text'>
Use Module::print() instead of a PrintModulePass

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.
</content>
</entry>
<entry>
<title>Rollup merge of #66973 - cuviper:min-llvm7, r=alexcrichton</title>
<updated>2019-12-03T18:41:57+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-12-03T18:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8dcb5326dd3f5a67d6cd9b0e1b1cb12424a69f2d'/>
<id>urn:sha1:8dcb5326dd3f5a67d6cd9b0e1b1cb12424a69f2d</id>
<content type='text'>
Update the minimum external LLVM to 7

LLVM 7 is over a year old, which should be plenty for compatibility. The
last LLVM 6 holdout was llvm-emscripten, which went away in #65501.

I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
which was broken by #66522.
</content>
</entry>
<entry>
<title>Change linker for x86_64-fortanix-unknown-sgx to rust-lld</title>
<updated>2019-12-03T09:14:14+00:00</updated>
<author>
<name>Parth Sane</name>
<email>parthsane@gmail.com</email>
</author>
<published>2019-12-02T12:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54b206034fe50b2234ab8ddb15214f723fe8d951'/>
<id>urn:sha1:54b206034fe50b2234ab8ddb15214f723fe8d951</id>
<content type='text'>
For SGX, the relocation using the relocation table is done by
the code in rust/src/libstd/sys/sgx/abi/reloc.rs and this code
should not require relocation. Setting RelaxELFRelocations flag
if allows this to happen, hence adding a Target Option for it.
</content>
</entry>
<entry>
<title>Update the minimum external LLVM to 7</title>
<updated>2019-12-02T19:36:21+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-12-02T19:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2304c25f31fb69c279110ecaf51627cc36bffd55'/>
<id>urn:sha1:2304c25f31fb69c279110ecaf51627cc36bffd55</id>
<content type='text'>
LLVM 7 is over a year old, which should be plenty for compatibility. The
last LLVM 6 holdout was llvm-emscripten, which went away in #65501.

I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
which was broken by #66522.
</content>
</entry>
<entry>
<title>Use Module::print() instead of a PrintModulePass</title>
<updated>2019-12-02T10:04:44+00:00</updated>
<author>
<name>Victor Ding</name>
<email>victording@google.com</email>
</author>
<published>2019-12-02T09:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85df207ecc3a7b8b7150e2b65c67eec3a23b7c81'/>
<id>urn:sha1:85df207ecc3a7b8b7150e2b65c67eec3a23b7c81</id>
<content type='text'>
llvm::Module has a print() method. It is unnecessary to create a
pass just for the purpose of printing LLVM IR.
</content>
</entry>
<entry>
<title>Use LLVMAddAnalysisPasses instead of Rust's wrapper</title>
<updated>2019-11-29T03:31:09+00:00</updated>
<author>
<name>Victor Ding</name>
<email>victording@google.com</email>
</author>
<published>2019-11-29T03:31:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b41b1d3407068fad2fc0f4e0cc7db92cb3589bc6'/>
<id>urn:sha1:b41b1d3407068fad2fc0f4e0cc7db92cb3589bc6</id>
<content type='text'>
LLVM exposes a C API `LLVMAddAnalysisPasses` and hence Rust's own
wrapper `LLVMRustAddAnalysisPasses` is not needed anymore.
</content>
</entry>
<entry>
<title>Rollup merge of #66761 - yuyoyuppe:rust_llvm_minor_fix, r=alexcrichton</title>
<updated>2019-11-27T21:28:45+00:00</updated>
<author>
<name>Tyler Mandry</name>
<email>tmandry@gmail.com</email>
</author>
<published>2019-11-27T21:28:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b05f14cc40d4820bb53f2637aaab76a0c1415fe4'/>
<id>urn:sha1:b05f14cc40d4820bb53f2637aaab76a0c1415fe4</id>
<content type='text'>
Use LLVMDisposePassManager instead of raw delete in rustllvm

LLVM has a dedicated API call which wraps the destructor invocation for the PassManager.
Rust invokes it [otherwhere](https://github.com/rust-lang/rust/blob/d63b24ffcc48f44ef09e0369e6516d6f2dec3520/src/librustc_codegen_llvm/back/write.rs#L446-L447), but not in the `LLVMRustWriteOutputFile`.

Since `LLVMDisposePassManager` might be extended to perform additional cleanup actions in the future, this change replaces raw destructor invocation with that API call.
</content>
</entry>
<entry>
<title>Use LLVMDisposePassManager instead of raw delete in rustllvm</title>
<updated>2019-11-25T20:52:10+00:00</updated>
<author>
<name>yuyoyuppe</name>
<email>a.yuyoyuppe@gmail.com</email>
</author>
<published>2019-11-25T20:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e846ea1112ba3176d3141163c86dda5bfd8cd5eb'/>
<id>urn:sha1:e846ea1112ba3176d3141163c86dda5bfd8cd5eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Retain compatibility with LLVM 6, 7, 8 and 9</title>
<updated>2019-11-22T18:32:45+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2019-11-18T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5141aa36f670ddd04fa281281435a42e153222be'/>
<id>urn:sha1:5141aa36f670ddd04fa281281435a42e153222be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move sanitizer passes creation from ssa to llvm</title>
<updated>2019-11-22T18:31:43+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2019-11-18T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=317f68ab10c04719d54265f92784618afed914b6'/>
<id>urn:sha1:317f68ab10c04719d54265f92784618afed914b6</id>
<content type='text'>
</content>
</entry>
</feed>
