Switch GlobalVariable ctors to a sane API, where *either* a context or a module is...
authorOwen Anderson <resistor@mac.com>
Wed, 8 Jul 2009 19:03:57 +0000 (19:03 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 8 Jul 2009 19:03:57 +0000 (19:03 +0000)
commite9b11b431308f4766b73cda93e38ec930c912122
treed72fc321dc0c445f8880443050c0a03c2ccdf7d2
parent515cdbe49d9bb5cd05be2713faaa7e2a66ddc3bc
Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
examples/BrainF/BrainF.cpp
include/llvm/GlobalVariable.h
include/llvm/Support/IRBuilder.h
lib/Analysis/DebugInfo.cpp
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/ShadowStackGC.cpp
lib/Linker/LinkModules.cpp
lib/Transforms/IPO/ExtractGV.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/Instrumentation/BlockProfiling.cpp
lib/Transforms/Instrumentation/EdgeProfiling.cpp
lib/Transforms/Instrumentation/RSProfiling.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/CloneModule.cpp
lib/Transforms/Utils/LowerInvoke.cpp
lib/VMCore/Core.cpp
lib/VMCore/Globals.cpp
lib/VMCore/Module.cpp
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/Miscompilation.cpp