Merging r259695:
authorHans Wennborg <hans@hanshq.net>
Thu, 4 Feb 2016 16:59:45 +0000 (16:59 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 4 Feb 2016 16:59:45 +0000 (16:59 +0000)
commit78a7d49140626994c23367b709e7b30b41e5cf70
treed62944b2bc9e51fd8037235514b4d04ce9108255
parent19b86f670bb5005761ecdcbe41423fee7fd200cf
Merging r259695:
------------------------------------------------------------------------
r259695 | tfiala | 2016-02-03 13:13:23 -0800 (Wed, 03 Feb 2016) | 11 lines

Address NDEBUG-related linkage issues for Value::assertModuleIsMaterialized()

The IR/Value class had a linkage issue present when LLVM was built
as a library, and the LLVM library build time had different settings
for NDEBUG than the client of the LLVM library.  Clients could get
into a state where the LLVM lib expected
Value::assertModuleIsMaterialized() to be inline-defined in the header
but clients expected that method to be defined in the LLVM library.

See this llvm-commits thread for more details:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160201/329667.html
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@259801 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h
lib/IR/Value.cpp