[WebAssembly] Use the default private label prefixes.
authorDan Gohman <dan433584@gmail.com>
Thu, 7 Jan 2016 18:49:53 +0000 (18:49 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 7 Jan 2016 18:49:53 +0000 (18:49 +0000)
commit181f7cc0f351761876b331ed7e9d8c263a3865f3
tree28e24b19186634e5be12e1f2f05b20cb18092fb8
parent702b589510d04e13e27d4de31cf8b3f1c5455fd2
[WebAssembly] Use the default private label prefixes.

The MC assembler doesn't like using the empty string as a private label
prefix because then it treats all labels as private. This commit reverts
back to the default prefix, which is .L, which is common in ELF targets
and consistent with the LLVM name mangler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257083 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp
test/CodeGen/WebAssembly/cfg-stackify.ll
test/CodeGen/WebAssembly/phi.ll
test/CodeGen/WebAssembly/reg-stackify.ll
test/CodeGen/WebAssembly/switch.ll