diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2017-02-23 02:01:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-23 02:01:05 +0000 |
commit | cfb3604f234ce55c4bc2575cfdcf3f8c041fb869 (patch) | |
tree | 595bf2ea442c34dbc58bf385ec3b71458e64b8f0 /lib/RSCompilerDriver.cpp | |
parent | a2b2545e07cc5ef1baf5d866af726dcf3c175184 (diff) | |
parent | fc9c55b0c248a04a325c3540b75ecd3ae64fd91f (diff) | |
download | libbcc-cfb3604f234ce55c4bc2575cfdcf3f8c041fb869.tar.gz |
Merge "Add back version info to Script in libbcc"
Diffstat (limited to 'lib/RSCompilerDriver.cpp')
-rw-r--r-- | lib/RSCompilerDriver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/RSCompilerDriver.cpp b/lib/RSCompilerDriver.cpp index 09c4227..9f04a7f 100644 --- a/lib/RSCompilerDriver.cpp +++ b/lib/RSCompilerDriver.cpp @@ -276,6 +276,7 @@ bool RSCompilerDriver::build(BCCContext &pContext, // Read information from bitcode wrapper. bcinfo::BitcodeWrapper wrapper(pBitcode, pBitcodeSize); + script.setCompilerVersion(wrapper.getCompilerVersion()); script.setOptimizationLevel(static_cast<llvm::CodeGenOpt::Level>( wrapper.getOptimizationLevel())); |