1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/lib/Target/WebAssembly/MCTargetDesc
JF Bastien cdce125371 WebAssembly: use .skip instead of .zero directive
.zero is confusing when used with two arguments. Documentation:

  This directive emits SIZE 0-valued bytes.  SIZE must be an absolute
  expression.  This directive is actually an alias for the '.skip'
  directive so in can take an optional second argument of the value to
  store in the bytes instead of zero.  Using '.zero' in this way would be
  confusing however.

Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=18353

Hexagon and Sparc do the same, and it's all the same to WebAssembly so
let's pick the less confusing of the two.

llvm-svn: 257111
2016-01-07 23:18:29 +00:00
..
CMakeLists.txt [WebAssembly] Experimental ELF writer support 2015-12-17 01:39:00 +00:00
LLVMBuild.txt
Makefile
WebAssemblyAsmBackend.cpp [WebAssembly] Experimental ELF writer support 2015-12-17 01:39:00 +00:00
WebAssemblyELFObjectWriter.cpp [WebAssembly] Remove an unneeded empty destructor. 2015-12-21 17:12:40 +00:00
WebAssemblyMCAsmInfo.cpp WebAssembly: use .skip instead of .zero directive 2016-01-07 23:18:29 +00:00
WebAssemblyMCAsmInfo.h [WebAssembly] Switch WebAssemblyMCAsmInfo.h from MCAsmInfo to MCAsmInfoELF. 2015-12-17 20:50:45 +00:00
WebAssemblyMCCodeEmitter.cpp Remove unused class variables. 2015-12-17 23:43:40 +00:00
WebAssemblyMCTargetDesc.cpp [WebAssembly] Experimental ELF writer support 2015-12-17 01:39:00 +00:00
WebAssemblyMCTargetDesc.h [WebAssembly] Experimental ELF writer support 2015-12-17 01:39:00 +00:00