[all-commits] [llvm/llvm-project] 56426c: [libc] customizable namespace 1/4 (#65321)

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Sep 6 01:28:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56426c6cdfaf3cf3745f31f0f7d5c1a5f4cc1197
      https://github.com/llvm/llvm-project/commit/56426c6cdfaf3cf3745f31f0f7d5c1a5f4cc1197
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M libc/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] customizable namespace 1/4 (#65321)

This implements the first step of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079

Make required Bazel and CMake preparatory changes which define the var
for the customizable namespace and use it (pass it as a compile option
-DLIBC_NAMESPACE=<...>).

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




More information about the All-commits mailing list