projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use PrivateLinkage now that it is safe.
[oota-llvm.git]
/
examples
/
ExceptionDemo
/
ExceptionDemo.cpp
diff --git
a/examples/ExceptionDemo/ExceptionDemo.cpp
b/examples/ExceptionDemo/ExceptionDemo.cpp
index be357730e689bd2788cbf295f90fe1b231d27597..d997cc55a9f4aba568fa22f2ed1e1d2b59c4eed1 100644
(file)
--- a/
examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/
examples/ExceptionDemo/ExceptionDemo.cpp
@@
-915,7
+915,7
@@
void generateStringPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
- llvm::GlobalValue::
Linker
PrivateLinkage,
+ llvm::GlobalValue::PrivateLinkage,
stringConstant,
"");
}
stringConstant,
"");
}
@@
-959,7
+959,7
@@
void generateIntegerPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
- llvm::GlobalValue::
Linker
PrivateLinkage,
+ llvm::GlobalValue::PrivateLinkage,
stringConstant,
"");
}
stringConstant,
"");
}