diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-22 09:11:15 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-22 09:11:15 +0200 |
| commit | ca022f27844a5475dab608bd1970c05494a67290 (patch) | |
| tree | 97cd0405c51c9c1036c2b3376626e5d8ca0baf06 /tools | |
| parent | 96ea259e3e3a3b1be7d0e3b589063340fc48cd2e (diff) | |
feat(LibCompiler): Validating ::Compile.
what?
- The C++DRV crashes because of a bogus vector, after ::Compile gets
called.
- I have to figure out where the vector gets corrupted.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cxxdrv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cxxdrv.cc b/tools/cxxdrv.cc index 8f6fe03..d500101 100644 --- a/tools/cxxdrv.cc +++ b/tools/cxxdrv.cc @@ -16,6 +16,6 @@ LC_IMPORT_C Int32 CompilerCPlusPlusAMD64(Int32 argc, CharType const* argv[]); Int32 main(Int32 argc, CharType const* argv[]) { auto ret = CompilerCPlusPlusAMD64(argc, argv); - + return (ret == LIBCOMPILER_SUCCESS) ? EXIT_SUCCESS : EXIT_FAILURE; } |
