X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/77cc3118ce7a3a70a0a7364d77ae1eb766a477e7..4f3e367c520f1fd8affdc77dd9e2b6bc6c3c693b:/src/Options.cpp diff --git a/src/Options.cpp b/src/Options.cpp index d0a2d15..eb244ed 100644 --- a/src/Options.cpp +++ b/src/Options.cpp @@ -2311,6 +2311,12 @@ void Options::parse(int argc, const char* argv[]) else if ( strcmp(arg, "-no_encryption") == 0 ) { fEncryptable = false; } + else if ( strcmp(arg, "-mllvm") == 0 ) { + const char* opts = argv[++i]; + if ( opts == NULL ) + throw "missing argument to -mllvm"; + fLLVMOptions.push_back(opts); + } else { throwf("unknown option: %s", arg); }