[all-commits] [llvm/llvm-project] dd850f: [llvm][clang][modules] Fix test failure on big-end...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Mon Aug 28 13:18:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd850f0bae8f38b721e9ae6b8ba915dbf7d9bac7
https://github.com/llvm/llvm-project/commit/dd850f0bae8f38b721e9ae6b8ba915dbf7d9bac7
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M llvm/include/llvm/Bitstream/BitstreamWriter.h
Log Message:
-----------
[llvm][clang][modules] Fix test failure on big-endian bots
After 6fb08d8f558a6f28db7835acdb88cab83aea2eb4,`clang/test/Modules/ModuleDebugInfoDwoId.cpp` started failing on a number of big-endian build bots (clang-ppc64be-linux-multistage, clang-ppc64be-linux-test-suite). This patch attempts to fix that by creating an API on `llvm::BitstreamWriter` that allows backpatching individual bytes. This API is then used from `clang::ASTWriter` to avoid endianness mismatch.
More information about the All-commits
mailing list