<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_cranelift/src/debuginfo, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-07T11:05:05+00:00</updated>
<entry>
<title>Use `Freeze` for `SourceFile.lines`</title>
<updated>2023-09-07T11:05:05+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-08-31T20:12:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f49382c0508db608aa9c33d6a8c77d2955d8f62c'/>
<id>urn:sha1:f49382c0508db608aa9c33d6a8c77d2955d8f62c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use relative positions inside a SourceFile.</title>
<updated>2023-09-03T12:56:10+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-09-03T10:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=258ace613da6b8c90ba4995738cb13791388c4bb'/>
<id>urn:sha1:258ace613da6b8c90ba4995738cb13791388c4bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22</title>
<updated>2023-07-22T13:32:34+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-07-22T13:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=36708123c1f73554c7bb5e8a2f0565aa25daef13'/>
<id>urn:sha1:36708123c1f73554c7bb5e8a2f0565aa25daef13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unnecessary line lookup.</title>
<updated>2023-06-29T01:26:39+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-06-27T22:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a13be655a511c215cc4d1d120d981bfe80b04eec'/>
<id>urn:sha1:a13be655a511c215cc4d1d120d981bfe80b04eec</id>
<content type='text'>
`lookup_debug_loc` calls `SourceMap::lookup_line`, which does a binary
search over the files, and then a binary search over the lines within
the found file. It then calls `SourceFile::line_begin_pos`, which redoes
the binary search over the lines within the found file.

This commit removes the second binary search over the lines, instead
getting the line starting pos directly using the result of the first
binary search over the lines.

(And likewise for `get_span_loc`, in the cranelift backend.)
</content>
</entry>
<entry>
<title>Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into sync_cg_clif-2023-03-15</title>
<updated>2023-03-15T14:41:48+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-03-15T14:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fce629d2e9eddd957411caa5fed0e1146c745bd8'/>
<id>urn:sha1:fce629d2e9eddd957411caa5fed0e1146c745bd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24</title>
<updated>2023-01-24T17:56:42+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-01-24T17:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b829bb74315568e18be0426a37fadd78cd2c485a'/>
<id>urn:sha1:b829bb74315568e18be0426a37fadd78cd2c485a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move compiler input and ouput paths into session</title>
<updated>2023-01-16T14:46:44+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-12-07T09:24:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9f5cd0315386e761beae8afd07df94e42a4db154'/>
<id>urn:sha1:9f5cd0315386e761beae8afd07df94e42a4db154</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14</title>
<updated>2022-12-14T18:30:46+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2022-12-14T18:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=949699931e4370d4a0d65b896bb5d73f35609528'/>
<id>urn:sha1:949699931e4370d4a0d65b896bb5d73f35609528</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `rustdoc --version` when used with download-rustc</title>
<updated>2022-11-09T08:54:51+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-11-09T08:52:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a68ec2205335e2c3de8ba56fb6a31b99f10c95a6'/>
<id>urn:sha1:a68ec2205335e2c3de8ba56fb6a31b99f10c95a6</id>
<content type='text'>
Previously, rustdoc would unconditionally report the version that *rustc* was compiled with.
That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source.

Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.
</content>
</entry>
<entry>
<title>ssa: implement `#[collapse_debuginfo]`</title>
<updated>2022-09-07T12:54:51+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-07-21T15:19:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38958aa8bdd2b46dd7f9213bda1c9c6433282a68'/>
<id>urn:sha1:38958aa8bdd2b46dd7f9213bda1c9c6433282a68</id>
<content type='text'>
Debuginfo line information for macro invocations are collapsed by
default - line information are replaced by the line of the outermost
expansion site. Using `-Zdebug-macros` disables this behaviour.

When the `collapse_debuginfo` feature is enabled, the default behaviour
is reversed so that debuginfo is not collapsed by default. In addition,
the `#[collapse_debuginfo]` attribute is available and can be applied to
macro definitions which will then have their line information collapsed.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
</feed>
