[llvm-bugs] [Bug 33337] New: [WebAssembly] Consider changing size_t back to unsigned long
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 6 19:38:16 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33337
Bug ID: 33337
Summary: [WebAssembly] Consider changing size_t back to
unsigned long
Product: clang
Version: unspecified
Hardware: Other
OS: other
Status: NEW
Keywords: ABI
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: dan433584 at gmail.com
CC: dschuff at google.com, jgravelle at google.com,
llvm-bugs at lists.llvm.org
r280420 changed WebAssembly's size_t and friends on wasm32 to be unsigned int.
This is convenient at present because it matches the asm.js ABI.
However, it is worth considering changing size_t back to unsigned long before
it comes time to stablize the ABI. An advantage of this is that it makes most
mangled names consistent between wasm32 and wasm64. For example, operator new
would be "_Znwm" in both, rather than "_Znwj" in wasm32 and "_Znwm" in wasm64,
which is convenient for tools that work with lists of symbol names.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170607/235f6b7a/attachment.html>
More information about the llvm-bugs
mailing list