about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-10-12 23:24:28 +0200
committerhexcoder- <heiko@hexco.de>2021-10-12 23:24:28 +0200
commit6e08e809074763a9c4b35b65805e628689a2d562 (patch)
treeaf57edffe61809755246c197ee4e099c59567fee /src
parent544a65db5470359c18436eca123282d74fa47f2e (diff)
downloadafl++-6e08e809074763a9c4b35b65805e628689a2d562.tar.gz
converted compare-transform-pass to new pass manager
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index bbe548d9..a51632a2 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -480,11 +480,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
       } else {
 
-        cc_params[cc_par_cnt++] = "-Xclang";
-        cc_params[cc_par_cnt++] = "-load";
-        cc_params[cc_par_cnt++] = "-Xclang";
+        cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager";
         cc_params[cc_par_cnt++] =
-            alloc_printf("%s/compare-transform-pass.so", obj_path);
+            alloc_printf("-fpass-plugin=%s/compare-transform-pass.so", obj_path);
 
       }