projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the build of the gold-plugin and examples.
[oota-llvm.git]
/
examples
/
ExceptionDemo
/
ExceptionDemo.cpp
diff --git
a/examples/ExceptionDemo/ExceptionDemo.cpp
b/examples/ExceptionDemo/ExceptionDemo.cpp
index f6fc03de912f2960a7c48f7213adadf2d821d79b..d68c05f1222979ca5e4f9619021b2d37dc07a912 100644
(file)
--- a/
examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/
examples/ExceptionDemo/ExceptionDemo.cpp
@@
-1972,7
+1972,7
@@
int main(int argc, char *argv[]) {
// Set up the optimizer pipeline.
// Start with registering info about how the
// target lays out data structures.
// Set up the optimizer pipeline.
// Start with registering info about how the
// target lays out data structures.
- module->setDataLayout(executionEngine->getDataLayout());
+ module->setDataLayout(
*
executionEngine->getDataLayout());
// Optimizations turned on
#ifdef ADD_OPT_PASSES
// Optimizations turned on
#ifdef ADD_OPT_PASSES