]> granicus.if.org Git - clang/commit
CodeGen: update comment about RTTI field
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 1 Jan 2017 19:16:02 +0000 (19:16 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 1 Jan 2017 19:16:02 +0000 (19:16 +0000)
commitb63fa9e2bb8aac0a80c3e3467991c6b1a4b01e6a
treeba36deff85b2f6ac1d347c36a961e79d677258f9
parentdbfc80ebfb657a583395fabcd6a89775021d3334
CodeGen: update comment about RTTI field

The MS ABI RTTI has a reserved field which is used as a cache for the
demangled name.  It must be zero-initialized, which is used as a hint by
the runtime to say that the cache has not been populated.  Since this
field is populated at runtime, the RTTI structures must be placed in the
.data section rather than .rdata.  NFC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290799 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MicrosoftCXXABI.cpp