[all-commits] [llvm/llvm-project] 4fe6a5: [libc++] Rename PS() macro to avoid clashing with ...
Gustavo Henrique Nihei via All-commits
all-commits at lists.llvm.org
Fri Apr 8 14:01:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fe6a5d69a61ac59c6b06af93d7093130533ffe1
https://github.com/llvm/llvm-project/commit/4fe6a5d69a61ac59c6b06af93d7093130533ffe1
Author: Gustavo Henrique Nihei <gustavo.nihei at espressif.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M libcxx/src/filesystem/filesystem_common.h
M libcxx/src/filesystem/operations.cpp
Log Message:
-----------
[libc++] Rename PS() macro to avoid clashing with Xtensa register name
This patch addresses a clash with the PS register from Xtensa
defined in the <specreg.h> header file, which is commonly included in
OS implementation.
Issue identified while building libc++ port for Apache NuttX, targeting
Xtensa-based chips (e.g. Espressif's ESP32).
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei at espressif.com>
Differential Revision: https://reviews.llvm.org/D122479
More information about the All-commits
mailing list