This is an archive of the discontinued LLVM Phabricator instance.

Add debug option to wasm-ld to enable LLVM style debug info
AbandonedPublic

Authored by pmatos on Sep 24 2020, 6:42 AM.

Details

Reviewers
sbc100
tlively
Summary

Adds -debug flag to wasm-ld to enable LLVM debug information.
Also adds test.

Diff Detail

Event Timeline

pmatos created this revision.Sep 24 2020, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2020, 6:42 AM
pmatos requested review of this revision.Sep 24 2020, 6:42 AM
sbc100 added a comment.EditedSep 24 2020, 8:12 AM

This is already supported like via -mllvm. E.g. wasm-ld -mllvm -debug or wasm-ld -mllvm -debug-only=lld

pmatos abandoned this revision.Sep 24 2020, 9:03 PM

This is already supported like via -mllvm. E.g. wasm-ld -mllvm -debug or wasm-ld -mllvm -debug-only=lld

Argh - I completely forgot that was possible from wasm-ld. Abandoning revision. Apologies for the noise.