[all-commits] [llvm/llvm-project] 0b533c: [MetaRenamer] Add command line options to disable ...
Dmitry Makogon via All-commits
all-commits at lists.llvm.org
Thu Dec 9 03:46:35 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b533c18334e010878f0f94b430f669d5efbc88a
https://github.com/llvm/llvm-project/commit/0b533c18334e010878f0f94b430f669d5efbc88a
Author: Dmitry Makogon <d.makogon at g.nsu.ru>
Date: 2021-12-09 (Thu, 09 Dec 2021)
Changed paths:
M llvm/lib/Transforms/Utils/MetaRenamer.cpp
A llvm/test/Transforms/MetaRenamer/exclude-names.ll
Log Message:
-----------
[MetaRenamer] Add command line options to disable renaming name with specified prefixes
This patch adds 4 options for specifying functions, aliases, globals and
structs name prefixes hat don't need to be renamed by MetaRenamer pass.
This is useful if one has some downstream logic that depends directly
on an entity name. MetaRenamer can break this logic, but with the patch
you can tell it not to rename certain names.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D115323
More information about the All-commits
mailing list