[PATCH] D56180: Replace gen_dynamic_list.py with a portable shell script
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 31 14:00:28 PST 2018
krytarowski created this revision.
krytarowski added reviewers: mgorny, vitalybuka.
krytarowski added a project: Sanitizers.
Herald added subscribers: llvm-commits, jfb, kubamracek.
Reimplement the Python script with a shell one, as
Python is not available in all environments.
This is especially needed in the integration process
of compiler-rt sanitizers into the NetBSD distribution,
where Python is absent and must not be used as a tool.
New script is also designed to be applicable for
cross-building to a different CPU architecture.
It checks the target CPU with file(1) rather than
relying on host's uname value.
No functional change for existing users. The shell
script generates exactly the same result as the
original Python file for all the .syms files on NetBSD.
Repository:
rL LLVM
https://reviews.llvm.org/D56180
Files:
cmake/Modules/SanitizerUtils.cmake
lib/interception/interception.h
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/scripts/gen_dynamic_list.py
lib/sanitizer_common/scripts/gen_dynamic_list.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56180.179781.patch
Type: text/x-patch
Size: 14407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181231/97148db6/attachment.bin>
More information about the llvm-commits
mailing list