WebAssembly: add small FIXME for AsmPrinter.
authorJF Bastien <jfb@google.com>
Wed, 26 Aug 2015 00:50:49 +0000 (00:50 +0000)
committerJF Bastien <jfb@google.com>
Wed, 26 Aug 2015 00:50:49 +0000 (00:50 +0000)
Suggested by @sunfish as a follow-up to r245982.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245996 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp

index e8732abbbc759b9ffb854319b9eb9272b40670e4..092f1f11960a4387f7a5c16ff1ffd143c3baba10 100644 (file)
@@ -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";