mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
08aea7d1b6
COMDATs must be identically named to the symbol. When support for COMDATs was introduced, the symbol rewriter was not updated, resulting in rewriting failing for symbols which were placed into COMDATs. This corrects the behaviour and adds test cases for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227261 91177308-0d34-0410-b5e6-96231b3b80d8
67 lines
1.0 KiB
Plaintext
67 lines
1.0 KiB
Plaintext
function: {
|
|
source: source_function,
|
|
target: target_function,
|
|
}
|
|
|
|
global variable: {
|
|
source: source_variable,
|
|
target: target_variable,
|
|
}
|
|
|
|
function: {
|
|
source: source_function_(.*),
|
|
transform: target_\1,
|
|
}
|
|
|
|
global variable: {
|
|
source: source_variable_(.*),
|
|
transform: target_\1,
|
|
}
|
|
|
|
function: {
|
|
source: naked_source_function,
|
|
target: naked_target_function,
|
|
naked: true,
|
|
}
|
|
|
|
function: {
|
|
source: imported_function,
|
|
target: exported_function,
|
|
}
|
|
|
|
function: {
|
|
source: missing_global_leader_prefix,
|
|
target: DO_NOT_REWRITE,
|
|
}
|
|
|
|
function: {
|
|
source: first_callee,
|
|
target: renamed_callee,
|
|
}
|
|
|
|
global alias: {
|
|
source: _ZN1SC1Ev,
|
|
target: _ZN1SD1Ev,
|
|
}
|
|
|
|
function: {
|
|
source: source_comdat_function,
|
|
target: target_comdat_function,
|
|
}
|
|
|
|
function: {
|
|
source: source_comdat_function_(.*),
|
|
transform: target_comdat_function_\1,
|
|
}
|
|
|
|
global variable: {
|
|
source: source_comdat_variable,
|
|
target: target_comdat_variable,
|
|
}
|
|
|
|
global variable: {
|
|
source: source_comdat_variable_(.*),
|
|
transform: target_comdat_variable_\1,
|
|
}
|
|
|