<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/gnu/llvm/lib/Target/AArch64, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/gnu/llvm/lib/Target/AArch64?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/gnu/llvm/lib/Target/AArch64?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-09-01T16:27:59Z</updated>
<entry>
<title>Import LLVM 8.0.1 release including clang, lld and lldb.</title>
<updated>2019-09-01T16:27:59Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-09-01T16:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b19884b112052f3bf5ff9551374fbd840e2339f2'/>
<id>urn:sha1:b19884b112052f3bf5ff9551374fbd840e2339f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The GlobalISel IRTranslator pass assumes that it is safe to use the</title>
<updated>2019-08-01T01:09:09Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2019-08-01T01:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ac01d30ce880eeb475479bed69a1fa12c43f3cfd'/>
<id>urn:sha1:ac01d30ce880eeb475479bed69a1fa12c43f3cfd</id>
<content type='text'>
LOAD_STACK_GUARD pseudo without consulting the value of useLoadStackGuardNode(),
and then tries to add the return from getSDagStackGuard() as a parameter without
consulting the return from getIRStackGuard() to see if it should do that. This
means that the GlobalISel IRTranslator's implementation for
Intrinsic::stackprotector is broken for platforms that implement
getIRStackGuard() like we do, and this causes a segfault later when the
incomplete LOAD_STACK_GUARD pseudo is lowered in the back end.

Since GlobalISel is disabled on aarch64 most of the time anyway, add a bit that
disables it for OpenBSD/aarch64 all the time.

Fixes a crash when building on aarch64 without retguard, with a stack protector
and without optimizations, which manifests when building cross-tools.

ok patrick@ deraadt@
</content>
</entry>
<entry>
<title>Merge LLVM 8.0.0 release.</title>
<updated>2019-06-23T22:05:08Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-23T22:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f27a781c9811da94fe68b2cf34237c2a61b48c96'/>
<id>urn:sha1:f27a781c9811da94fe68b2cf34237c2a61b48c96</id>
<content type='text'>
Prepared with help from jsg@ and mortimer@
Tested on amd64 by bcallah@, krw@, naddy@
Tested on arm64 by patrick@
Tested on macppc by kettenis@
Tested on octeon by visa@
Tested on sparc64 by claudio@
</content>
</entry>
<entry>
<title>Import LLVM 8.0.0 release including clang, lld and lldb.</title>
<updated>2019-06-23T21:36:31Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-23T21:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=23f101f37937a1bd4a29726cab2f76e0fb038b35'/>
<id>urn:sha1:23f101f37937a1bd4a29726cab2f76e0fb038b35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-enable RETGUARD leaf function optimization for arm64.</title>
<updated>2019-05-31T19:15:05Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2019-05-31T19:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=90020ccd6197ab7cf35e5085321274918851be68'/>
<id>urn:sha1:90020ccd6197ab7cf35e5085321274918851be68</id>
<content type='text'>
It turns out MachineFrameInfo.hasCalls() is unreliable, because it is
up to the backends to update this information whenever they add calls
to a function, and this does not always happen.

ok kettenis@
</content>
</entry>
<entry>
<title>retguard-cookie-in-register is slightly unstable on arm64, so surgically</title>
<updated>2019-04-17T14:25:44Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-04-17T14:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c5d2a9ef74104462dfe5eee96a216b8f9b7aa4b9'/>
<id>urn:sha1:c5d2a9ef74104462dfe5eee96a216b8f9b7aa4b9</id>
<content type='text'>
disable it in upcoming 6.5 release.
(phessler and mortimer have the details)
</content>
</entry>
<entry>
<title>Do not store the retguard cookie in frame in leaf functions if possible.</title>
<updated>2019-03-31T02:39:47Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2019-03-31T02:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=52357f02de6027c0408b01b51141d97603ef4460'/>
<id>urn:sha1:52357f02de6027c0408b01b51141d97603ef4460</id>
<content type='text'>
Makes things slightly faster and also improves security in these functions,
since the retguard cookie can't leak via the stack.

ok deraadt@
</content>
</entry>
<entry>
<title>Tedu files that got removed in LLVM 7.0.1.</title>
<updated>2019-01-27T17:11:29Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-01-27T17:11:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f520fd6abbfde117cf551fb4eacdd2687a606a9'/>
<id>urn:sha1:9f520fd6abbfde117cf551fb4eacdd2687a606a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge LLVM 7.0.1 release.</title>
<updated>2019-01-27T16:55:35Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-01-27T16:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5072e66b18f5d3ac6abf1c18a092e85eab2d7568'/>
<id>urn:sha1:5072e66b18f5d3ac6abf1c18a092e85eab2d7568</id>
<content type='text'>
With fixes from mortimer@ (thanks!)
Tested by many, especially naddy@ (thanks!)
</content>
</entry>
<entry>
<title>Import LLVM 7.0.1 release including clang, lld and lldb.</title>
<updated>2019-01-27T16:42:12Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-01-27T16:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b773203fb58f3ef282fb69c832d8710cab5bc82d'/>
<id>urn:sha1:b773203fb58f3ef282fb69c832d8710cab5bc82d</id>
<content type='text'>
</content>
</entry>
</feed>
