aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-05-20 01:29:55 +0000
committerMatthias Braun <matze@braunis.de>2017-05-20 01:29:55 +0000
commita4519532246a246a9e1d014d7c80343ca9ed7ee7 (patch)
tree12332770957c11004e171a98563064b532646cf9 /llvm/lib/Object/WindowsResource.cpp
parent57fd12db0c76c9fde5f2d13507015bd161deaed6 (diff)
downloadllvm-a4519532246a246a9e1d014d7c80343ca9ed7ee7.zip
llvm-a4519532246a246a9e1d014d7c80343ca9ed7ee7.tar.gz
llvm-a4519532246a246a9e1d014d7c80343ca9ed7ee7.tar.bz2
CodeGenModule: Always output wchar_size, check LLVM assumptions.
Re-commit r303463 now that LLVM is fixed and adjust some lit tests. llvm::TargetLibraryInfo needs to know the size of wchar_t to work on functions like `wcslen`. This patch changes clang to always emit the wchar_size module flag (it would only do so for ARM previously). This also adds an `assert()` to ensure the LLVM defaults based on the target triple are in sync with clang. Differential Revision: https://reviews.llvm.org/D32982 llvm-svn: 303478
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions