Aliases of functions are now marked as function symbols even if
they are bitcast to some other other non-function type.
This is important for WebAssembly where object and function
symbols can't alias each other.
Fixes PR38866
Paths
| Differential D57538
[WebAssembly] MC: Fix type of function aliases ClosedPublic Authored by sbc100 on Jan 31 2019, 12:41 PM.
Details Summary Aliases of functions are now marked as function symbols even if Fixes PR38866
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, sunfish, aheejin and 2 others. · View Herald TranscriptJan 31 2019, 12:41 PM sbc100 retitled this revision from [WebAssembly] Fix type of function aliases to [WebAssembly] MC: Fix type of function aliases.Jan 31 2019, 12:44 PM Comment Actions LGTM. Can you put a little more detail in the commit message (e.g. something like what you wrote in the comment) to make it easier to see in a log (without having to look at the code or the PR)? This revision is now accepted and ready to land.Jan 31 2019, 1:14 PM Closed by commit rL353109: [WebAssembly] MC: Mark more function aliases as functions (authored by sbc). · Explain WhyFeb 4 2019, 3:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 184579 lib/MC/WasmObjectWriter.cpp
test/MC/WebAssembly/function-alias.ll
|