[libclc] 12/21: Fix build since r286752.

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Feb 13 13:58:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

aboll-guest pushed a commit to branch master
in repository libclc.

commit b906699f6876538f6528224b858418e4029e1f26
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Nov 14 16:06:33 2016 +0000

    Fix build since r286752.
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@286839 91177308-0d34-0410-b5e6-96231b3b80d8
---
 utils/prepare-builtins.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp
index 9ca6e79..c8b1f44 100644
--- a/utils/prepare-builtins.cpp
+++ b/utils/prepare-builtins.cpp
@@ -41,7 +41,8 @@ int main(int argc, char **argv) {
       ErrorMessage = ec.message();
     else {
       ErrorOr<std::unique_ptr<Module>> ModuleOrErr =
-          parseBitcodeFile(BufferPtr.get()->getMemBufferRef(), Context);
+          expectedToErrorOrAndEmitErrors(Context,
+          parseBitcodeFile(BufferPtr.get()->getMemBufferRef(), Context));
       if (std::error_code ec = ModuleOrErr.getError())
         ErrorMessage = ec.message();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list