projects
/
c11llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c836511
)
remove rename main
author
root
<root@plrg-1.ics.uci.edu>
Sat, 7 Dec 2019 00:39:03 +0000
(16:39 -0800)
committer
root
<root@plrg-1.ics.uci.edu>
Sat, 7 Dec 2019 00:39:03 +0000
(16:39 -0800)
CDSPass.cpp
patch
|
blob
|
history
diff --git
a/CDSPass.cpp
b/CDSPass.cpp
index ce95434a8cd145fe4ab7152c7191d93e6c8cf43c..5739dbc6f9997b760089f357dd5dd6a7e50ab995 100644
(file)
--- 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<Instruction*, 8> AllLoadsAndStores;
SmallVector<Instruction*, 8> LocalLoadsAndStores;