mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
0713748099
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. llvm-svn: 227261
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,
|
|
}
|
|
|