[PATCH] D58304: [WebAssembly] Warn but don't error on conflicting uses of prototype-less functions

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 15:41:25 PST 2019


sbc100 marked an inline comment as done.
sbc100 added inline comments.


================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp:105
+          } else if (NewType != DestType) {
+            dbgs() << "WARNING: Prototypeless function used with "
+                      "conflicting signatures: "
----------------
Is there some better way to generate a warning in an llvm pass?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58304/new/

https://reviews.llvm.org/D58304





More information about the llvm-commits mailing list