Passing debug options to LTO

I need to get DEBUG(...) output from my pass. Without -flto I can do
it via "-mllvm -debug" passed to clang/llc. But how to achieve that in
presence of -flto?

Thanks.