aboutsummaryrefslogtreecommitdiffstats
path: root/test/SymbolRewriter/rewrite.map
diff options
context:
space:
mode:
Diffstat (limited to 'test/SymbolRewriter/rewrite.map')
-rw-r--r--test/SymbolRewriter/rewrite.map20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/SymbolRewriter/rewrite.map b/test/SymbolRewriter/rewrite.map
index ef6dfc8..8094939 100644
--- a/test/SymbolRewriter/rewrite.map
+++ b/test/SymbolRewriter/rewrite.map
@@ -44,3 +44,23 @@ global alias: {
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,
+}
+