forked from OSchip/llvm-project
utils: Adapt to llvm r325155
r325155 ("Pass a reference to a module to the bitcode writer.") changed bit writer interface from pointer to reference Reviewer: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325867
This commit is contained in:
parent
1ad6a94676
commit
86db4302e0
|
@ -105,7 +105,11 @@ int main(int argc, char **argv) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
#if HAVE_LLVM >= 0x0700
|
||||
WriteBitcodeToFile(*M, Out->os());
|
||||
#else
|
||||
WriteBitcodeToFile(M, Out->os());
|
||||
#endif
|
||||
|
||||
// Declare success.
|
||||
Out->keep();
|
||||
|
|
Loading…
Reference in New Issue