summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-01-09 23:05:21 +0000
committerHeejin Ahn <aheejin@gmail.com>2019-01-09 23:05:21 +0000
commit569f0909222e9156c2b1c91e4b135efe2c87f9e3 (patch)
tree31612a723445d12b8ac8456722f0d05b17908da5 /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
parent2f4df4c986505cd85645e7b54a9f688e72eb2238 (diff)
downloadbcm5719-llvm-569f0909222e9156c2b1c91e4b135efe2c87f9e3.tar.gz
bcm5719-llvm-569f0909222e9156c2b1c91e4b135efe2c87f9e3.zip
[WebAssembly] Print a debug message at the start of each pass
Summary: Looks like many passes print its pass description as a debug message at the start of each pass, so added that to (mostly newly added) other passes as well. Reviewers: dschuff Subscribers: jgravelle-google, sbc100, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D56142 llvm-svn: 350771
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
index 0644f1232f6..1a416520f97 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
@@ -228,6 +228,8 @@ static Function *CreateWrapper(Function *F, FunctionType *Ty) {
}
bool FixFunctionBitcasts::runOnModule(Module &M) {
+ LLVM_DEBUG(dbgs() << "********** Fix Function Bitcasts **********\n");
+
Function *Main = nullptr;
CallInst *CallMain = nullptr;
SmallVector<std::pair<Use *, Function *>, 0> Uses;
OpenPOWER on IntegriCloud