[PATCH] Change DwarfCompileUnit::createGlobalVariable to getOrCreateGlobalVariable.

David Blaikie dblaikie at gmail.com
Thu Sep 18 12:00:25 PDT 2014


Looks good.

I'm on the fence about whether declaration or definition is better - but as you say, definition is somewhat more expressive/useful for some possible consumer scenarios.

http://reviews.llvm.org/D5381






More information about the llvm-commits mailing list