[libc-commits] [PATCH] D135322: [libc] add strsignal and refactor message mapping

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 5 14:19:48 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

The logic for strsignal and strerror is very similar, so I've moved them
both to use a shared utility (MessageMapper) for the basic
functionality.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135322

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/__support/CMakeLists.txt
  libc/src/__support/StringUtil/CMakeLists.txt
  libc/src/__support/StringUtil/error_to_string.cpp
  libc/src/__support/StringUtil/error_to_string.h
  libc/src/__support/StringUtil/message_mapper.h
  libc/src/__support/StringUtil/signal_to_string.cpp
  libc/src/__support/StringUtil/signal_to_string.h
  libc/src/__support/error_to_string.cpp
  libc/src/__support/error_to_string.h
  libc/src/string/CMakeLists.txt
  libc/src/string/strerror.cpp
  libc/src/string/strerror.h
  libc/src/string/strerror_r.cpp
  libc/src/string/strsignal.cpp
  libc/src/string/strsignal.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strsignal_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135322.465555.patch
Type: text/x-patch
Size: 43347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221005/8eddfef4/attachment-0001.bin>


More information about the libc-commits mailing list