1. 29 Aug, 2022 3 commits
    • CMake: Add an option to build the libraries that are used for writing · 277ce1dd
      tests without requiring Abseil's tests be built (default=OFF)
      
      This disables building libraries that are only used for writing tests
      by default.
      
      The logging library releases some libraries used for writing tests
      that themselves depend on GoogleTest. This allows Abseil to build by
      default without requiring GoogleTest.
      
      Fixes #1262
      
      PiperOrigin-RevId: 470847215
      Change-Id: I296f41aa06d6f302853af3f32e1f762649504afc
      Derek Mauro committed
    • Fix "unsafe narrowing" warnings in absl, 7/n. · d9382f72
      Addresses failures with the following, in some files:
      -Wshorten-64-to-32
      -Wimplicit-int-conversion
      -Wsign-compare
      -Wsign-conversion
      -Wtautological-unsigned-zero-compare
      
      (This specific CL focuses on .cc files in debugging/internal/.)
      
      Bug: chromium:1292951
      PiperOrigin-RevId: 470812243
      Change-Id: I5578030bb42ba73cb83d4df84f89e431ceac8992
      Abseil Team committed
    • Fix "unsafe narrowing" warnings in absl, 6/n. · 75691f1c
      Addresses failures with the following, in some files:
      -Wshorten-64-to-32
      -Wimplicit-int-conversion
      -Wsign-compare
      -Wsign-conversion
      -Wtautological-unsigned-zero-compare
      
      (This specific CL focuses on .cc files in strings/internal/.)
      
      Bug: chromium:1292951
      PiperOrigin-RevId: 470810568
      Change-Id: Ibd316a7e62cc43cb198ba22daed565c9573ce235
      Abseil Team committed
  2. 25 Aug, 2022 1 commit
  3. 24 Aug, 2022 2 commits
  4. 23 Aug, 2022 1 commit
  5. 22 Aug, 2022 1 commit
    • Support compilers that are unknown to CMake · c5615151
      Abseil failed to configure with `ABSL_PROPAGATE_CXX_STD` if the compiler was not known to CMake:
      
          target_compile_features no known features for CXX compiler
      
      Turns the error into a warning by checking `CMAKE_CXX_COMPILE_FEATURES`
      before calling `target_compile_features`.
      
      PiperOrigin-RevId: 469254470
      Change-Id: Ifba006dcdbf6a7112e382075b24678a792dbc827
      Abseil Team committed
  6. 18 Aug, 2022 2 commits
  7. 17 Aug, 2022 6 commits
  8. 16 Aug, 2022 3 commits
  9. 15 Aug, 2022 1 commit
  10. 12 Aug, 2022 3 commits
  11. 11 Aug, 2022 4 commits
  12. 10 Aug, 2022 3 commits
  13. 09 Aug, 2022 1 commit
  14. 05 Aug, 2022 3 commits
  15. 04 Aug, 2022 4 commits
    • debugging: handle alternate signal stacks better on RISCV · 9ab9e487
      In the case that we are unwinding with context, if the retreived frame pointer
      matches the signal context, assume that the value is valid and do not perform
      confidence checks.  In any other case, continue to perform some validation to
      avoid returning an incorrect frame pointer.
      
      Given that the VDSO path is currently untested, remove the code to simplify the
      logic in the frame walking.
      
      PiperOrigin-RevId: 465360612
      Change-Id: Iac656012182a12814bafecf20225ba68b90b4db1
      Saleem Abdulrasool committed
    • Revert change "Fix "unsafe narrowing" warnings in absl, 4/n.". · 4b551344
      The change breaks existing code by changing the return type of absl::bit_width.
      
      PiperOrigin-RevId: 465295951
      Change-Id: Id4ce7c2ac3699ce22aa2b4851a949f9e0104a3d7
      Thomas Köppe committed
    • Fix "unsafe narrowing" warnings in absl, 3/n. · 751ade00
      Addresses failures with the following, in some files:
      -Wshorten-64-to-32
      -Wimplicit-int-conversion
      -Wsign-compare
      -Wsign-conversion
      -Wtautological-unsigned-zero-compare
      
      (This specific CL focuses on .cc files in dirs n-t, except string.)
      
      Bug: chromium:1292951
      PiperOrigin-RevId: 465287204
      Change-Id: I0fe98ff78bf3c08d86992019eb626755f8b6803e
      Abseil Team committed
    • Fix "unsafe narrowing" warnings in absl, 4/n. · 07360899
      Addresses failures with the following, in some files:
      -Wshorten-64-to-32
      -Wimplicit-int-conversion
      -Wsign-compare
      -Wsign-conversion
      -Wtautological-unsigned-zero-compare
      
      (This specific CL focuses on .cc files in strings/, except /internal/.)
      
      Bug: chromium:1292951
      PiperOrigin-RevId: 465285043
      Change-Id: I37e9d1b4c4e9aa655b720da1467927af2aba995e
      Abseil Team committed
  16. 01 Aug, 2022 1 commit
    • Fix "unsafe narrowing" warnings in absl, 2/n. · 16af2bbc
      Addresses failures with the following, in some files:
      -Wshorten-64-to-32
      -Wimplicit-int-conversion
      -Wsign-compare
      -Wsign-conversion
      -Wtautological-unsigned-zero-compare
      
      (This specific CL focuses on .cc files in dirs a-h.)
      
      Bug: chromium:1292951
      PiperOrigin-RevId: 464541951
      Change-Id: If23b63ccea8e9b730159ff1c7288e9300a40b6bd
      Abseil Team committed
  17. 29 Jul, 2022 1 commit
    • debugging: honour `STRICT_UNWINDING` in RISCV path · dc370a82
      The changes in d6f96eda enabled handling cases
      where the stack may be non-contiguous or not fully symbolicated (e.g. in cases
      of alternate signal stacks).  However, it did not properly honour the requests
      from the caller to perform a strict unwinding where such frames are terminated
      upon the discontinuity.  This repairs that condition.
      
      Hoist the alignment check since that is safe to perform early.
      
      PiperOrigin-RevId: 464160529
      Change-Id: Ic65645928ec60c2a3b4844f3abd4fed1b991edab
      Saleem Abdulrasool committed