This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fix getSymbolValue() for data symbols
ClosedPublic

Authored by sbc100 on Aug 31 2017, 2:39 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Aug 31 2017, 2:39 PM
sbc100 edited the summary of this revision. (Show Details)Aug 31 2017, 2:42 PM
sbc100 added a reviewer: dschuff.
sbc100 added a subscriber: llvm-commits.
dschuff accepted this revision.Aug 31 2017, 2:44 PM

Cool, I guess this fixes PR34392, you should put that in the commit description too.

This revision is now accepted and ready to land.Aug 31 2017, 2:44 PM

ah we raced. LGTM :)

What do you say "PRXXXXX"? What is PR? I've seen it other commit messages. What is the best way to signal that a bug is fixed by an llvm commit?

It's just a bug number. PR I guess is a "Problem Report"? Also https://llvm.org/PR34392 is a shortcut to https://bugs.llvm.org/show_bug.cgi?id=34392

but "Fixes PRNNN" is fine to indicate that a bug is fixed, although now that I think of it, a real link (in either form) is probably even better. Either way there's no auto-linking. Not everyone even uses LLVM's bug tracker anyway.

This revision was automatically updated to reflect the committed changes.
hintonda added inline comments.
llvm/trunk/lib/Object/WasmObjectFile.cpp
794

This is causing buildbot errors on big endian machines when the Opcode is wasm::WASM_OPCODE_I64_CONST, which corresponds to Int64, not Int32, e.g.:

http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/7421