[PATCH] D92509: ADT: Remove redundant `alignas` from IntervalMap, NFC

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 13:01:21 PST 2020


rnk added a comment.

I'm worried that this may have ended up causing issues. There is an experimental 32-bit windows buildbot here:
http://lab.llvm.org:8014/#/builders/27/builds/1792
Recently it has started failing with assertions about alignment:

  $ "c:\volumes\buildbot\clang-x86-ninja-win10\stage1\bin\filecheck.exe" "--check-prefix=MODE-SINGLE" "C:\volumes\buildbot\clang-x86-ninja-win10\llvm\clang\test\CodeGen\split-debug-single-file.c"
  $ ":" "RUN: at line 14"
  $ "c:\volumes\buildbot\clang-x86-ninja-win10\stage1\bin\clang.exe" "-cc1" "-internal-isystem" "c:\volumes\buildbot\clang-x86-ninja-win10\stage1\lib\clang\12.0.0\include" "-nostdsysteminc" "-debug-info-kind=limited" "-triple" "x86_64-unknown-linux" "-split-dwarf-file" "C:\volumes\buildbot\clang-x86-ninja-win10\stage1\tools\clang\test\CodeGen\Output\split-debug-single-file.c.tmp.dwo" "-split-dwarf-output" "C:\volumes\buildbot\clang-x86-ninja-win10\stage1\tools\clang\test\CodeGen\Output\split-debug-single-file.c.tmp.dwo" "-emit-obj" "-o" "C:\volumes\buildbot\clang-x86-ninja-win10\stage1\tools\clang\test\CodeGen\Output\split-debug-single-file.c.tmp.o" "C:\volumes\buildbot\clang-x86-ninja-win10\llvm\clang\test\CodeGen\split-debug-single-file.c" "-fno-experimental-new-pass-manager"
  # command stderr:
  Assertion failed: (uintptr_t(&data) & (alignof(RootLeaf) - 1)) == 0 && "Insufficient alignment", file Q:\clang-x86-ninja-win10\llvm\llvm\include\llvm/ADT/IntervalMap.h, line 1040
  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
  Stack dump:
  0.	Program arguments: c:\\volumes\\buildbot\\clang-x86-ninja-win10\\stage1\\bin\\clang.exe -cc1 -internal-isystem c:\\volumes\\buildbot\\clang-x86-ninja-win10\\stage1\\lib\\clang\\12.0.0\\include -nostdsysteminc -debug-info-kind=limited -triple x86_64-unknown-linux -split-dwarf-file C:\\volumes\\buildbot\\clang-x86-ninja-win10\\stage1\\tools\\clang\\test\\CodeGen\\Output\\split-debug-single-file.c.tmp.dwo -split-dwarf-output C:\\volumes\\buildbot\\clang-x86-ninja-win10\\stage1\\tools\\clang\\test\\CodeGen\\Output\\split-debug-single-file.c.tmp.dwo -emit-obj -o C:\\volumes\\buildbot\\clang-x86-ninja-win10\\stage1\\tools\\clang\\test\\CodeGen\\Output\\split-debug-single-file.c.tmp.o C:\\volumes\\buildbot\\clang-x86-ninja-win10\\llvm\\clang\\test\\CodeGen\\split-debug-single-file.c -fno-experimental-new-pass-manager
  1.	<eof> parser at end of file
  2.	Code generation
  3.	Running pass 'Function Pass Manager' on module 'C:\volumes\buildbot\clang-x86-ninja-win10\llvm\clang\test\CodeGen\split-debug-single-file.c'.
  4.	Running pass 'Live DEBUG_VALUE analysis' on function '@main'

I'll investigate.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92509/new/

https://reviews.llvm.org/D92509



More information about the llvm-commits mailing list