This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Trace export of symbols when specified with --trace-symbol. NFC
ClosedPublic

Authored by sbc100 on Apr 12 2023, 7:34 PM.

Diff Detail

Event Timeline

sbc100 created this revision.Apr 12 2023, 7:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2023, 7:34 PM
Herald added subscribers: pmatos, asb, wingo and 4 others. · View Herald Transcript
sbc100 requested review of this revision.Apr 12 2023, 7:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2023, 7:34 PM
dschuff accepted this revision.Apr 13 2023, 9:50 AM

Is it possible/useful to also list the name under which the symbol was exported?

This revision is now accepted and ready to land.Apr 13 2023, 9:50 AM

Is it possible/useful to also list the name under which the symbol was exported?

The indent of the stub object is that it gets exported under it default name (i.e. toString(*needed)). You are correct though that a symbol with custom export name might not work as expected here.