projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6a0d4
)
Recognize memalign and friends, and handle them specially.
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Tue, 25 May 2004 08:14:52 +0000
(08:14 +0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Tue, 25 May 2004 08:14:52 +0000
(08:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13741
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index 995c115af9f10fda7e067e8c3013332603a279c9..31ce79dd40819ac2767c0947436ddd58c646110a 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-523,7
+523,8
@@
void GraphBuilder::visitCallSite(CallSite CS) {
N->setModifiedMarker();
return;
default:
- if (F->getName() == "calloc") {
+ if (F->getName() == "calloc" || F->getName() == "posix_memalign" ||
+ F->getName() == "memalign" || F->getName() == "valloc") {
setDestTo(*CS.getInstruction(),
createNode()->setHeapNodeMarker()->setModifiedMarker());
return;