These are useful to upcoming addition of --gc-sections support.
The InputFunction subclass already added this method anyway so
this change just makes it a little more general.
Paths
| Differential D42626
[WebAssembly] Add getName and getFileName methods to InputChunk base class. NFC. ClosedPublic Authored by sbc100 on Jan 28 2018, 11:47 AM.
Details
Summary These are useful to upcoming addition of --gc-sections support. The InputFunction subclass already added this method anyway so
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, sunfish, aheejin and 3 others. · View Herald TranscriptJan 28 2018, 11:47 AM This revision was not accepted when it landed; it landed in state Needs Review.Jan 28 2018, 12:00 PM Closed by commit rL323623: [WebAssembly] Add getName and getFileName methods to InputChunk base class. NFC. (authored by sbc). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions Sorry, I didn't mean to commit this without lgtm. I made a git-svn mistake. Please review and I will revert or update as needed.
Revision Contents
Diff 131721 lld/trunk/wasm/InputChunks.h
lld/trunk/wasm/InputChunks.cpp
|