]> granicus.if.org Git - llvm/commit
[WebAssembly] MC: Fix crash when -g specified.
authorSam Clegg <sbc@chromium.org>
Fri, 20 Oct 2017 21:28:38 +0000 (21:28 +0000)
committerSam Clegg <sbc@chromium.org>
Fri, 20 Oct 2017 21:28:38 +0000 (21:28 +0000)
commit2b6b6ac52395421f255f29e1073803555911be29
treebd6b2fa2a1640d921996bc2cd84f83534c21f606
parentd83b5d463d7b2d0f4e3d2ef8264cab509d43ac2b
[WebAssembly] MC: Fix crash when -g specified.

At this point we don't output any debug sections or thier
relocations.

Differential Revision: https://reviews.llvm.org/D39076

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316240 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCSectionWasm.h
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/MC/MCContext.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCWasmStreamer.cpp
lib/MC/WasmObjectWriter.cpp
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
test/MC/WebAssembly/debug-info.ll [new file with mode: 0644]