[libc-commits] [PATCH] D151367: [libc] Rearrange error and signal tables.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed May 24 12:53:39 PDT 2023
sivachandra created this revision.
sivachandra added a reviewer: michaelrj.
Herald added subscribers: libc-commits, abrachet, ecnelises, phosek, tschuett, krytarowski.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
This is largely a cosmetic change done with a few goals:
1. Reduce the conditionals in picking the correct set of tables for the platform.
2. Avoid exposing, for example Linux errors, when building for non-Linux platforms. This also prevents build failures when Linux errors are not defined on the target non-Linux platform.
3. Some "_table" suffixes have been removed to avoid repeated occurance of "table" like "tables/linux_error_table.h".
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151367
Files:
libc/src/__support/StringUtil/CMakeLists.txt
libc/src/__support/StringUtil/error_to_string.cpp
libc/src/__support/StringUtil/message_mapper.h
libc/src/__support/StringUtil/platform_errors.h
libc/src/__support/StringUtil/platform_signals.h
libc/src/__support/StringUtil/signal_to_string.cpp
libc/src/__support/StringUtil/tables/CMakeLists.txt
libc/src/__support/StringUtil/tables/error_table.h
libc/src/__support/StringUtil/tables/linux/CMakeLists.txt
libc/src/__support/StringUtil/tables/linux/error_table.h
libc/src/__support/StringUtil/tables/linux/signal_table.h
libc/src/__support/StringUtil/tables/linux_extension_errors.h
libc/src/__support/StringUtil/tables/linux_extension_signals.h
libc/src/__support/StringUtil/tables/linux_platform_errors.h
libc/src/__support/StringUtil/tables/linux_platform_signals.h
libc/src/__support/StringUtil/tables/minimal_platform_errors.h
libc/src/__support/StringUtil/tables/minimal_platform_signals.h
libc/src/__support/StringUtil/tables/posix_error_table.h
libc/src/__support/StringUtil/tables/posix_errors.h
libc/src/__support/StringUtil/tables/posix_signal_table.h
libc/src/__support/StringUtil/tables/posix_signals.h
libc/src/__support/StringUtil/tables/stdc_error_table.h
libc/src/__support/StringUtil/tables/stdc_errors.h
libc/src/__support/StringUtil/tables/stdc_signal_table.h
libc/src/__support/StringUtil/tables/stdc_signals.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151367.525308.patch
Type: text/x-patch
Size: 24154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230524/3678440d/attachment-0001.bin>
More information about the libc-commits
mailing list