<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lld/wasm/MapFile.cpp, branch users/meinersbur/flang_runtime_split-headers</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[lld][WebAssembly] Replace config-&gt; with ctx.arg.</title>
<updated>2025-01-03T01:08:18+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-01-03T01:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3792b36234b6c87d728f0a905543e284bf961460'/>
<id>3792b36234b6c87d728f0a905543e284bf961460</id>
<content type='text'>
Change the global variable reference to a member access of another
variable `ctx`. In the future, we may pass through `ctx` to functions to
eliminate global variables.

Pull Request: https://github.com/llvm/llvm-project/pull/119835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the global variable reference to a member access of another
variable `ctx`. In the future, we may pass through `ctx` to functions to
eliminate global variables.

Pull Request: https://github.com/llvm/llvm-project/pull/119835
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Move input vectors from symtab to ctx. NFC (#78640)</title>
<updated>2024-01-18T23:53:13+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2024-01-18T23:53:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3c5845703c85f221ca12880ce9107a0c44cf7b27'/>
<id>3c5845703c85f221ca12880ce9107a0c44cf7b27</id>
<content type='text'>
Also convert from std::vector to SmallVector.

This matches the ELF linker where these were moved into the ctx object
in 9a572164d592e and converted to SmallVector in ba948c5a9c524b.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also convert from std::vector to SmallVector.

This matches the ELF linker where these were moved into the ctx object
in 9a572164d592e and converted to SmallVector in ba948c5a9c524b.</pre>
</div>
</content>
</entry>
<entry>
<title>[lld] Don't include SetVector.h (NFC)</title>
<updated>2022-09-17T20:36:15+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-09-17T20:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f46245c3e9fb9da54e076d611124c80fb7306672'/>
<id>f46245c3e9fb9da54e076d611124c80fb7306672</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename parallelForEachN to just parallelFor</title>
<updated>2022-06-19T21:49:00+00:00</updated>
<author>
<name>Nico Weber</name>
<email>thakis@chromium.org</email>
</author>
<published>2022-06-19T16:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7effcbda49ba32991b8955821b8fdbd4f8f303e2'/>
<id>7effcbda49ba32991b8955821b8fdbd4f8f303e2</id>
<content type='text'>
Patch created by running:

  rg -l parallelForEachN | xargs sed -i '' -c 's/parallelForEachN/parallelFor/'

No behavior change.

Differential Revision: https://reviews.llvm.org/D128140
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch created by running:

  rg -l parallelForEachN | xargs sed -i '' -c 's/parallelForEachN/parallelFor/'

No behavior change.

Differential Revision: https://reviews.llvm.org/D128140
</pre>
</div>
</content>
</entry>
<entry>
<title>[WebAssembly][lld] Fix segfault on .bss sections in mapfile</title>
<updated>2021-07-08T06:31:48+00:00</updated>
<author>
<name>Thomas Lively</name>
<email>tlively@google.com</email>
</author>
<published>2021-07-08T06:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0fd5e7b2d8ca4ed46d76187feb4b903ed0a3ea75'/>
<id>0fd5e7b2d8ca4ed46d76187feb4b903ed0a3ea75</id>
<content type='text'>
When memory is declared in the Wasm module, we rely on the implicit zero
initialization behavior and do not explicitly output .bss sections. The means
that they do not have associated `outputSec` entries, which was causing
segfaults in the mapfile support. Fix the issue by guarding against null
`outputSec` and falling back to using a zero offset.

Differential Revision: https://reviews.llvm.org/D102951
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When memory is declared in the Wasm module, we rely on the implicit zero
initialization behavior and do not explicitly output .bss sections. The means
that they do not have associated `outputSec` entries, which was causing
segfaults in the mapfile support. Fix the issue by guarding against null
`outputSec` and falling back to using a zero offset.

Differential Revision: https://reviews.llvm.org/D102951
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Rename methods/members to match ELF backend. NFC.</title>
<updated>2021-02-27T01:05:59+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2021-02-26T23:22:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=14ffbb84aa45ddc22a564074fb2e32e8cef6c586'/>
<id>14ffbb84aa45ddc22a564074fb2e32e8cef6c586</id>
<content type='text'>
Specifically:

- InputChunk::outputOffset -&gt; outSecOffset
- Symbol::get/setVirtualAddress -&gt; get/setVA
- add InputChunk::getOffset helper that takes an offset

These are mostly in preparation for adding support for
SHF_MERGE/SHF_STRINGS but its also good to align with ELF where
possible.

Differential Revision: https://reviews.llvm.org/D97595
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specifically:

- InputChunk::outputOffset -&gt; outSecOffset
- Symbol::get/setVirtualAddress -&gt; get/setVA
- add InputChunk::getOffset helper that takes an offset

These are mostly in preparation for adding support for
SHF_MERGE/SHF_STRINGS but its also good to align with ELF where
possible.

Differential Revision: https://reviews.llvm.org/D97595
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Delay the merging of data section when dynamic linking</title>
<updated>2021-02-11T18:54:15+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2021-02-10T18:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536'/>
<id>70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536</id>
<content type='text'>
With dynamic linking we have the current limitation that there can be
only a single active data segment (since we use __memory_base as the
load address and we can't do arithmetic in constant expresions).

This change delays the merging of active segments until a little later
in the linking process which means that the grouping of data by section,
and the magic __start/__end symbols work as expected under dynamic
linking.

Differential Revision: https://reviews.llvm.org/D96453
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With dynamic linking we have the current limitation that there can be
only a single active data segment (since we use __memory_base as the
load address and we can't do arithmetic in constant expresions).

This change delays the merging of active segments until a little later
in the linking process which means that the grouping of data by section,
and the magic __start/__end symbols work as expected under dynamic
linking.

Differential Revision: https://reviews.llvm.org/D96453
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Common superclass for input globals/events/tables</title>
<updated>2021-02-11T13:54:45+00:00</updated>
<author>
<name>Andy Wingo</name>
<email>wingo@igalia.com</email>
</author>
<published>2021-02-11T11:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a56e57493b18a04339d7980fcd4f000c518c1017'/>
<id>a56e57493b18a04339d7980fcd4f000c518c1017</id>
<content type='text'>
This commit regroups commonalities among InputGlobal, InputEvent, and
InputTable into the new InputElement.  The subclasses are defined
inline in the new InputElement.h.  NFC.

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D94677
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit regroups commonalities among InputGlobal, InputEvent, and
InputTable into the new InputElement.  The subclasses are defined
inline in the new InputElement.h.  NFC.

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D94677
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Fix segfault in map file support</title>
<updated>2021-02-09T22:42:43+00:00</updated>
<author>
<name>Thomas Lively</name>
<email>tlively@google.com</email>
</author>
<published>2021-02-09T22:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=067f005500af3093ee23d3c044f9b009c5bd94cf'/>
<id>067f005500af3093ee23d3c044f9b009c5bd94cf</id>
<content type='text'>
The code previously assumed that `getChunk` would return a non-null pointer for
every symbol, but in fact it only returns non-null pointers for DefinedFunction
and DefinedData symbols. This patch fixes the segfault by checking whether
`getChunk` returns a null for each symbol and skipping the mapping output for
any symbols for which it does.

Differential Revision: https://reviews.llvm.org/D88369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code previously assumed that `getChunk` would return a non-null pointer for
every symbol, but in fact it only returns non-null pointers for DefinedFunction
and DefinedData symbols. This patch fixes the segfault by checking whether
`getChunk` returns a null for each symbol and skipping the mapping output for
any symbols for which it does.

Differential Revision: https://reviews.llvm.org/D88369
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Add initial support for -Map/--print-map</title>
<updated>2020-09-12T23:10:51+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2020-03-27T23:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cc2da5554b5ee5d5939222af263699a9d0bf2049'/>
<id>cc2da5554b5ee5d5939222af263699a9d0bf2049</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D77187
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D77187
</pre>
</div>
</content>
</entry>
</feed>
