summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-08-26 00:50:49 +0000
committerJF Bastien <jfb@google.com>2015-08-26 00:50:49 +0000
commit1a4aa1589bb4592cca4384851e0ea65727df8e80 (patch)
tree9929e266c50cceee092d51c4483b3de100f8e5d2
parent0924ceab04976976ea9dde594f55c8f7b35cd11f (diff)
downloadbcm5719-llvm-1a4aa1589bb4592cca4384851e0ea65727df8e80.tar.gz
bcm5719-llvm-1a4aa1589bb4592cca4384851e0ea65727df8e80.zip
WebAssembly: add small FIXME for AsmPrinter.
Suggested by @sunfish as a follow-up to r245982. llvm-svn: 245996
-rw-r--r--llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp b/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp
index e8732abbbc7..092f1f11960 100644
--- a/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp
+++ b/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp
@@ -52,6 +52,7 @@ WebAssemblyMCAsmInfo::WebAssemblyMCAsmInfo(const Triple &T) {
// For now, WebAssembly does not support exceptions.
ExceptionsType = ExceptionHandling::None;
+ // FIXME: modify AsmPrinter to be more flexible, and fix other virtual ISAs.
WeakDirective = "\t;; .weak\t";
GlobalDirective = "\t;; .globl\t";
OpenPOWER on IntegriCloud