1. 13 Feb, 2024 2 commits
    • PR #1412: Filter out `-Xarch_` flags from pkg-config files · 0a362eb2
      Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1412
      
      In Clang, an `-Xarch_` compiler flag indicates that its successor only applies to the specified platform (e.g., `-Xarch_x86_64 -maes`). This is used in `absl/copts/AbseilConfigureCopts.cmake` to selectively enable hardware AES support on Apple platforms.
      
      However, when generating pkg-config files, those `-m` flags are filtered out, while the `-Xarch_` flags that precede them are left untouched. This led to the error reported in #1408.
      
      Fix that by filtering out each `-Xarch_` flag with its successor at once.
      
      Fixes #1408.
      Merge 89d20ab816b7cead56f05d5a6bc5146d1c4f4335 into 34604d5b
      
      Merging this change closes #1412
      
      COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1412 from ZhongRuoyu:xarch-pkgconfig 89d20ab816b7cead56f05d5a6bc5146d1c4f4335
      PiperOrigin-RevId: 606730193
      Change-Id: I3e177a56721acd3145fd03c64102741898afd2a5
      Ruoyu Zhong committed
    • `demangle`: Add complexity guard to `ParseQRequiresExpr` · 4ea6e47c
      This function copies the parser's state onto the stack in order to perform backtracking.
      Adding a complexity guard will ensure that it fails gracefully, instead of contributing to excessive consumption of stack space.
      
      PiperOrigin-RevId: 606720511
      Change-Id: I2f6f03e5f8bc4cc571a4159ecfc2af6f3e00fa68
      Dino Radakovic committed
  2. 12 Feb, 2024 2 commits
  3. 10 Feb, 2024 1 commit
  4. 09 Feb, 2024 3 commits
  5. 08 Feb, 2024 4 commits
  6. 07 Feb, 2024 6 commits
  7. 06 Feb, 2024 2 commits
  8. 05 Feb, 2024 1 commit
  9. 04 Feb, 2024 1 commit
  10. 03 Feb, 2024 1 commit
  11. 02 Feb, 2024 3 commits
  12. 01 Feb, 2024 4 commits
  13. 31 Jan, 2024 3 commits
  14. 30 Jan, 2024 4 commits
  15. 29 Jan, 2024 3 commits
    • Add empty WORKSPACE.bzlmod · 04af270f
      When bzlmod is enabled and WORKSPACE.bzlmod exists, the content of
      WORKSPACE is ignored. This prevents bzlmod builds from unintentionally
      depending on the WORKSPACE file.
      
      This exposed some small problems with our clang-cl configuration,
      which are also fixed in this change.
      
      PiperOrigin-RevId: 602511311
      Change-Id: I0ba411edde2df0e17f4eeede4117ddb6934dd8f8
      Derek Mauro committed
    • Introduce `RawHashSetLayout` helper class. · d5eb5032
      PiperOrigin-RevId: 602485199
      Change-Id: I5cc10eb8dcfe5988cf939080a224522e02ad8607
      Abseil Team committed
    • Fix a corner case in SpyHashState for exact boundaries. · 9a79278a
      AbslHash allows for piecewise chunks to be streamed incrementally into hash states and requires them to hash identically to one giant stream.  The exact size window for this is an internal details `PiecewiseChunkSize`.  There was an off by one error in this code.  Add tests and fix it.
      
      PiperOrigin-RevId: 602463183
      Change-Id: I159bbb5e7e745f55b2fe6eaf0d2735bd0a08aca9
      Matt Kulukundis committed