This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/llvm/BitcodeReader.cpp b/src/llvm/BitcodeReader.cpp | |
| index 0d1a512..60fec72 100644 | |
| --- a/src/llvm/BitcodeReader.cpp | |
| +++ b/src/llvm/BitcodeReader.cpp | |
| @@ -126,7 +126,7 @@ BitcodeReader::BitcodeReader(std::istream& stream, SourceType sourceType) : cont | |
| llvm::SMDiagnostic error; | |
| llvmModule = llvm::parseIR(buf->getMemBufferRef(), error, context); | |
| if(!llvmModule) | |
| - throw CompilationError(CompilationStep::PARSER, "Error parsing LLVM IR module", error.getMessage()); | |
| + throw CompilationError(CompilationStep::PARSER, "Error parsing LLVM IR module", static_cast<std::string>(error.getMessage())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern "C" | |
| { | |
| #include "interface/vcsm/user-vcsm.h" | |
| // XXX: The below libraries are missing the "extern "C"" guard! | |
| #include "interface/vmcs_host/vchost.h" | |
| #include "interface/vmcs_host/vc_vchi_gpuserv.h" | |
| } | |
| #include <algorithm> | |
| #include <array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Author: doe300 | |
| * | |
| * See the file "LICENSE" for the full license governing this code. | |
| */ | |
| #ifndef VC4C_METHOD_H | |
| #define VC4C_METHOD_H | |
| #include "BasicBlock.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Author: doe300 | |
| * | |
| * See the file "LICENSE" for the full license governing this code. | |
| */ | |
| #ifndef VC4C_METHOD_H | |
| #define VC4C_METHOD_H | |
| #include "BasicBlock.h" |