Added debug messages to GlobalOpt.
authorMichael Gottesman <mgottesman@apple.com>
Fri, 11 Jan 2013 20:07:53 +0000 (20:07 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Fri, 11 Jan 2013 20:07:53 +0000 (20:07 +0000)
commitcddd8a613e377e3064a2e7ca1d7ac8cb25f9b849
treee3ca0b6ced55bef11abe21cf2a092c0e1976972e
parent69e42dbd006c0afb732067ece7327988b1e24c01
Added debug messages to GlobalOpt.

Specifically:
1. Added a missing new line when we emit a debug message saying that we are marking a global variable as constant.
2. Added debug messages that describe what is occuring when GlobalOpt is evaluating a block/function.
3. Added a debug message that says what specific constructor is being evaluated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp