[PATCH] D64790: [LLVM][NFC] Adding an Alignment type to LLVM

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 05:10:53 PDT 2019


foad added a comment.

This also broke `ninja check-llvm-unit` on a Release build:

  Failing Tests (7):
      LLVM-Unit :: Support/./SupportTests/Alignment.CantConvertUnsetMaybe
      LLVM-Unit :: Support/./SupportTests/Alignment.CompareAlignToUndefMaybeAlign
      LLVM-Unit :: Support/./SupportTests/Alignment.CompareMaybeAlignToZero
      LLVM-Unit :: Support/./SupportTests/Alignment.ComparisonsWithZero
      LLVM-Unit :: Support/./SupportTests/Alignment.Division
      LLVM-Unit :: Support/./SupportTests/Alignment.InvalidCTors
      LLVM-Unit :: Support/./SupportTests/Alignment.Log2

Typical failure:

  FAIL: LLVM-Unit :: Support/./SupportTests/Alignment.Division (2696 of 3890)
  ******************** TEST 'LLVM-Unit :: Support/./SupportTests/Alignment.Division' FAILED ********************
  Note: Google Test filter = Alignment.Division
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from Alignment
  [ RUN      ] Alignment.Division
  /home/jayfoad2/git/llvm-project/llvm/unittests/Support/AlignmentTest.cpp:70: Failure
  Death test: Align(Value) / 2
      Result: failed to die.
   Error msg:
  [  DEATH   ] 
  /home/jayfoad2/git/llvm-project/llvm/unittests/Support/AlignmentTest.cpp:71: Failure
  Death test: MaybeAlign(Value) / 2
      Result: failed to die.
   Error msg:
  [  DEATH   ] 
  /home/jayfoad2/git/llvm-project/llvm/unittests/Support/AlignmentTest.cpp:79: Failure
  Death test: Align(8) / 0
      Result: failed to die.
   Error msg:
  [  DEATH   ] 
  /home/jayfoad2/git/llvm-project/llvm/unittests/Support/AlignmentTest.cpp:80: Failure
  Death test: Align(8) / 3
      Result: failed to die.
   Error msg:
  [  DEATH   ] 
  [  FAILED  ] Alignment.Division (2 ms)
  [----------] 1 test from Alignment (2 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (2 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] Alignment.Division
  
   1 FAILED TEST


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64790





More information about the llvm-commits mailing list