From: root Date: Sat, 7 Dec 2019 00:39:03 +0000 (-0800) Subject: remove rename main X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=efe97ff4dd2e35957384c54c5d4285e8cac669d0;p=c11llvm.git remove rename main --- diff --git a/CDSPass.cpp b/CDSPass.cpp index ce95434..5739dbc 100644 --- a/CDSPass.cpp +++ b/CDSPass.cpp @@ -491,11 +491,6 @@ void CDSPass::InsertRuntimeIgnores(Function &F) { }*/ bool CDSPass::runOnFunction(Function &F) { - if (F.getName() == "main") { - F.setName("user_main"); - errs() << "main replaced by user_main\n"; - } - initializeCallbacks( *F.getParent() ); SmallVector AllLoadsAndStores; SmallVector LocalLoadsAndStores;