Also, include global entries for all data symbols, not
just external ones, since these are referenced by the
relocation records.
Add a test case that includes unnamed data.
Paths
| Differential D33079
[WebAssembly] MC: Include unnamed data when writing wasm files ClosedPublic Authored by sbc100 on May 10 2017, 4:27 PM.
Details Summary Also, include global entries for all data symbols, not Add a test case that includes unnamed data.
Diff Detail
Event TimelineHerald added subscribers: jgravelle-google, dschuff, jfb. · View Herald TranscriptMay 10 2017, 4:27 PM
This revision is now accepted and ready to land.May 18 2017, 4:20 PM Closed by commit rL303915: [WebAssembly] MC: Include unnamed data when writing wasm files (authored by sbc). · Explain WhyMay 25 2017, 2:08 PM This revision was automatically updated to reflect the committed changes. Comment Actions Could this change be the reason of MC related build failures? Please check http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/1418/steps/check-llvm%20msan/logs/stdio Comment Actions I don't think this change can effect anything other than the wasm target. The failures you link to look like they are occurring with other targets such as -mtriple arm-apple-darwin
Revision Contents
Diff 100295 llvm/trunk/lib/MC/WasmObjectWriter.cpp
llvm/trunk/test/MC/WebAssembly/unnamed-data.ll
|