[all-commits] [llvm/llvm-project] 1772de: [compiler-rt] Fix endianness in get_sock_peer_name...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 10 15:47:20 PST 2022

  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1772de7212e9d2ea0711028709a5833ea7769173
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Linux/get_sock_peer_name.cpp

  Log Message:
  [compiler-rt] Fix endianness in get_sock_peer_name test

Fix passing the port and IP address with the wrong endianness
in get_sock_peer_name() that causes the connect() to fail inside
without an outgoing network interface (it's trying to connect
to instead of

Differential Revision: https://reviews.llvm.org/D119461

(cherry picked from commit c65fb0cdf26296ae83d23260337d1231d0249020)

  Commit: 917c47b3bf0dfc45a2a5ba12c1397d647ecf4017
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M compiler-rt/lib/asan/asan_errors.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp

  Log Message:
  Reapply [sanitizers] Avoid macro clash in SignalContext::WriteFlag (NFC)

D116208 may cause a macro clash on older versions of linux, where
fs.h defines a READ macro. This is resolved by switching to a more
typical casing style for non-macro symbols.

Reapplying with changes to the symbol names in various platform
specific code, which I missed previously.

Differential Revision: https://reviews.llvm.org/D118783

(cherry picked from commit 36cae4299d3225bb32d20dc525f017034ea3c3c1)

Compare: https://github.com/llvm/llvm-project/compare/71e4987ae664...917c47b3bf0d

More information about the All-commits mailing list