diff options
| author | Dan Gohman <dan433584@gmail.com> | 2016-01-07 18:49:53 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2016-01-07 18:49:53 +0000 |
| commit | a4730cf0b411dc58839ddaea79de05e20236d754 (patch) | |
| tree | c10fa6c1b5360eca58ee8798ec1a065c0440b05a /llvm/lib/Target/WebAssembly/MCTargetDesc | |
| parent | d97e5c4db0010fd482c8d6a330e2c7accb3ab333 (diff) | |
| download | bcm5719-llvm-a4730cf0b411dc58839ddaea79de05e20236d754.tar.gz bcm5719-llvm-a4730cf0b411dc58839ddaea79de05e20236d754.zip | |
[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.
llvm-svn: 257083
Diffstat (limited to 'llvm/lib/Target/WebAssembly/MCTargetDesc')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp b/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp index d2617796ca9..b1ab3ef29d8 100644 --- a/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp +++ b/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp @@ -27,9 +27,6 @@ WebAssemblyMCAsmInfo::WebAssemblyMCAsmInfo(const Triple &T) { // TODO: What should MaxInstLength be? - PrivateGlobalPrefix = ""; - PrivateLabelPrefix = ""; - UseDataRegionDirectives = true; Data8bitsDirective = "\t.int8\t"; |

