From 265ffbeb0c78ae49871571af2d4382f5a52c27e6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 4 Mar 2015 19:15:29 +0000 Subject: Fix the build of the gold-plugin and examples. llvm-svn: 231279 --- llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/examples/ExceptionDemo') diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp index f6fc03de912..d68c05f1222 100644 --- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/llvm/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. - module->setDataLayout(executionEngine->getDataLayout()); + module->setDataLayout(*executionEngine->getDataLayout()); // Optimizations turned on #ifdef ADD_OPT_PASSES -- cgit v1.2.3