llvm-project/clang/www
Florian Hahn 0aa117dd2c Temporarily revert r337226 "Restructure checking for, and warning on, lifetime extension."
This change breaks on ARM because pointers to clang::InitializedEntity are only
4 byte aligned and do not have 3 bits to store values. A possible solution
would be to change the fields in clang::InitializedEntity to enforce a bigger
alignment requirement.

The error message is

llvm/include/llvm/ADT/PointerIntPair.h:132:3: error: static_assert failed "PointerIntPair with integer size too large for pointer"
  static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
include/llvm/ADT/PointerIntPair.h:73:13: note: in instantiation of template class 'llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> >' requested here
    Value = Info::updateInt(Info::updatePointer(0, PtrVal),
llvm/include/llvm/ADT/PointerIntPair.h:51:5: note: in instantiation of member function 'llvm::PointerIntPair<const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *>, llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> > >::setPointerAndInt' requested here
    setPointerAndInt(PtrVal, IntVal);
    ^
llvm/tools/clang/lib/Sema/SemaInit.cpp:6237:12: note: in instantiation of member function 'llvm::PointerIntPair<const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *>, llvm::PointerIntPairInfo<const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits<const clang::InitializedEntity *> > >::PointerIntPair' requested here
    return {Entity, LK_Extended};

Full log here:
http://lab.llvm.org:8011/builders/clang-cmake-armv7-global-isel/builds/1330
http://lab.llvm.org:8011/builders/clang-cmake-armv7-full/builds/1394

llvm-svn: 337255
2018-07-17 09:23:31 +00:00
..
analyzer [analyzer] Add security checks for bcmp(), bcopy(), bzero(). 2018-05-26 00:04:26 +00:00
demo Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
OpenProjects.html Fix typos in clang 2018-04-06 15:14:32 +00:00
UniversalDriver.html
builtins.py
carbon-compile.png
clang_video-05-25-2007.html
clang_video-07-25-2007.html
comparison.html [www] Capitalize "Clang" when referring to the project, and generalize the 2018-03-01 22:01:06 +00:00
compatibility.html Documentation updates for recent changes to VLAs and default-initialization of const-qualified class objects. 2016-05-05 02:53:55 +00:00
content.css
cxx_compatibility.html
cxx_dr_status.html Temporarily revert r337226 "Restructure checking for, and warning on, lifetime extension." 2018-07-17 09:23:31 +00:00
cxx_status.html P0096R5, P0941R2: Update to match latest feature test macro specification. 2018-06-14 00:40:20 +00:00
diagnostics.html Fix typos in clang 2018-04-06 15:14:32 +00:00
favicon.ico
feature-compile1.png
feature-compile2.png
feature-memory1.png
features.html Fix typos in clang 2018-04-06 15:14:32 +00:00
get_involved.html Fix typos in clang 2018-04-06 15:14:32 +00:00
get_started.html Update the getting started documentation to match the corresponding LLVM commit in r303912. 2017-05-25 21:02:49 +00:00
hacking.html Remove reference to stale (2009) python version. 2018-03-25 13:12:05 +00:00
index.html [www] Capitalize "Clang" when referring to the project, and generalize the 2018-03-01 22:01:06 +00:00
libstdc++4.4-clang0x.patch
libstdc++4.6-clang11.patch
libstdc++4.7-clang11.patch
make_cxx_dr_status DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
menu.css
menu.html.incl set the svn:executable property, seems that it is necessary for apache (discussed with Tanya by email) 2017-09-10 08:00:03 +00:00
related.html Update link to the Chromium Clang page 2017-11-13 23:27:53 +00:00
robots.txt