<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/lib/MC/WasmObjectWriter.cpp, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-12-11T19:54:57+00:00</updated>
<entry>
<title>[WebAssembly] Add new `export_name` clang attribute for controlling wasm export names</title>
<updated>2019-12-11T19:54:57+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2019-11-05T18:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=881d877846e2904c731d616731969421ce8cc825'/>
<id>urn:sha1:881d877846e2904c731d616731969421ce8cc825</id>
<content type='text'>
This is equivalent to the existing `import_name` and `import_module`
attributes which control the import names in the final wasm binary
produced by lld.

This maps the existing

This attribute currently requires a string rather than using the
symbol name for a couple of reasons:

1. Avoid confusion with static and dynamic linking which is
   based on symbol name.  Exporting a function from a wasm module using
   this directive is orthogonal to both static and dynamic linking.
2. Avoids name mangling.

Differential Revision: https://reviews.llvm.org/D70520
</content>
</entry>
<entry>
<title>[WebAssebmly][MC] Support .import_name/.import_field asm directives</title>
<updated>2019-12-06T23:09:56+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2019-12-01T18:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b4f4e370b59a753a51f11848f54e9705f43cccaf'/>
<id>urn:sha1:b4f4e370b59a753a51f11848f54e9705f43cccaf</id>
<content type='text'>
Convert the MC test to use asm rather than bitcode.

This is a precursor to https://reviews.llvm.org/D70520.

Differential Revision: https://reviews.llvm.org/D70877
</content>
</entry>
<entry>
<title>[MC][WebAssembly] Error on data symbols in the text section.</title>
<updated>2019-09-25T23:33:16+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2019-09-25T23:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=079cba04bfa95f34d4b9e667f722ff6ebdf13ba6'/>
<id>urn:sha1:079cba04bfa95f34d4b9e667f722ff6ebdf13ba6</id>
<content type='text'>
Previously we had an assert but this can actually occur in valid user
code so we need to handle this in release builds too.

Differential Revision: https://reviews.llvm.org/D67997

llvm-svn: 372934
</content>
</entry>
<entry>
<title>[WebAssembly] Make __attribute__((used)) not imply export.</title>
<updated>2019-08-29T22:40:00+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>dan433584@gmail.com</email>
</author>
<published>2019-08-29T22:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=da84b688f9160bcd00ef46932e752aa33af94bc7'/>
<id>urn:sha1:da84b688f9160bcd00ef46932e752aa33af94bc7</id>
<content type='text'>
Add an WASM_SYMBOL_NO_STRIP flag, so that __attribute__((used)) doesn't
need to imply exporting. When targeting Emscripten, have
WASM_SYMBOL_NO_STRIP imply exporting.

Differential Revision: https://reviews.llvm.org/D62542

llvm-svn: 370415
</content>
</entry>
<entry>
<title>[WebAssembly][MC] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r369317</title>
<updated>2019-08-20T02:02:57+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2019-08-20T02:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e828ce1b8887aa20e9aa2bc7fbcbfa0a4eeff567'/>
<id>urn:sha1:e828ce1b8887aa20e9aa2bc7fbcbfa0a4eeff567</id>
<content type='text'>
llvm-svn: 369318
</content>
</entry>
<entry>
<title>[WebAssembly][MC] Simplify WasmObjectWriter::recordRelocation. NFC.</title>
<updated>2019-08-20T00:33:50+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2019-08-20T00:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ecc5e8084f500958f3c84335b214b3964356bc15'/>
<id>urn:sha1:ecc5e8084f500958f3c84335b214b3964356bc15</id>
<content type='text'>
WebAssembly doesn't support PC relative relocation or relocation
expressions that can't be reduced to single symbol.

The only support for we have for fixups involving two symbols are when
both symbols are defined and withing the same section.  In this case
evaluateFixup will already have evaluated to the expression before
calling recordRelocation.

llvm-svn: 369317
</content>
</entry>
<entry>
<title>[llvm] Migrate llvm::make_unique to std::make_unique</title>
<updated>2019-08-15T15:54:37+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-08-15T15:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0eaee545eef49ff9498234d3a51a5cbde59bf976'/>
<id>urn:sha1:0eaee545eef49ff9498234d3a51a5cbde59bf976</id>
<content type='text'>
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.

llvm-svn: 369013
</content>
</entry>
<entry>
<title>Delete dead stores</title>
<updated>2019-07-12T14:58:15+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2019-07-12T14:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b251cc0d91362ea44f00a0138998a0272791f7dc'/>
<id>urn:sha1:b251cc0d91362ea44f00a0138998a0272791f7dc</id>
<content type='text'>
llvm-svn: 365903
</content>
</entry>
<entry>
<title>[WebAssembly] Fix list of relocations with addends in lld</title>
<updated>2019-06-26T00:52:42+00:00</updated>
<author>
<name>Keno Fischer</name>
<email>keno@alumni.harvard.edu</email>
</author>
<published>2019-06-26T00:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=cadcb9eb6131e30b38e67991fbf034e22c7c0bfd'/>
<id>urn:sha1:cadcb9eb6131e30b38e67991fbf034e22c7c0bfd</id>
<content type='text'>
Summary:
The list of relocations with addend in lld was missing `R_WASM_MEMORY_ADDR_REL_SLEB`,
causing `wasm-ld` to generate corrupted output. This fixes that problem and while
we're at it pulls the list of such relocations into the Wasm.h header, to avoid
duplicating it in multiple places.

Reviewers: sbc100
Differential Revision: https://reviews.llvm.org/D63696

llvm-svn: 364367
</content>
</entry>
<entry>
<title>Use llvm::stable_sort</title>
<updated>2019-04-23T14:51:27+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2019-04-23T14:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=efd94c56badf696ed7193f4a83c7a59f7dfbfc6e'/>
<id>urn:sha1:efd94c56badf696ed7193f4a83c7a59f7dfbfc6e</id>
<content type='text'>
While touching the code, simplify if feasible.

llvm-svn: 358996
</content>
</entry>
</feed>
