diff options
author | JF Bastien <jfb@google.com> | 2015-08-26 22:09:54 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-08-26 22:09:54 +0000 |
commit | 45479f627a91a0f3be7274b34e269d5b0cb48a90 (patch) | |
tree | d0cad42051927df259b14e7f985b2ba855c2a1a5 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | f50b20d81979170f8c8fe74b369b8f2f6b3de8f5 (diff) | |
download | bcm5719-llvm-45479f627a91a0f3be7274b34e269d5b0cb48a90.tar.gz bcm5719-llvm-45479f627a91a0f3be7274b34e269d5b0cb48a90.zip |
WebAssembly: handle private/internal globals.
Things of note:
- Other linkage types aren't handled yet. We'll figure it out with dynamic linking.
- Special LLVM globals are either ignored, or error out for now.
- TLS isn't supported yet (WebAssembly will have threads later).
- There currently isn't a syntax for alignment, I left it in a comment so it's easy to hook up.
- Undef is convereted to whatever the type's appropriate null value is.
- assert versus report_fatal_error: follow what other AsmPrinters do, and assert only on what should have been caught elsewhere.
llvm-svn: 246092
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions