]> granicus.if.org Git - clang/commit
CodeGen: ubsan is built static on windows, give handlers local storage
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 15 Dec 2016 16:30:20 +0000 (16:30 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 15 Dec 2016 16:30:20 +0000 (16:30 +0000)
commitb4a24525d740b9ef9b02f91ba6b174b1083604ea
tree96dfe0c31440e8bcf30573d046f6049e5c4e5b5f
parent8abfa315907e3e5f031daded787de1ab71faf121
CodeGen: ubsan is built static on windows, give handlers local storage

The UBSAN runtime is built static on Windows.  This requires that we give local
storage always.  This impacts Windows where the linker would otherwise have to
generate a thunk to access the symbol via the IAT.  This should repair the
windows clang build bots.

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