mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 12:32:33 +03:00
raw_fd_ostream takes a force parameter now
Build fix for LLVM 75801.
This commit is contained in:
parent
23b83c4d7b
commit
03020aea39
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void writeModule(llvm::Module* m, std::string filename)
|
||||||
Logger::println("Writing native asm to: %s\n", spath.c_str());
|
Logger::println("Writing native asm to: %s\n", spath.c_str());
|
||||||
std::string err;
|
std::string err;
|
||||||
{
|
{
|
||||||
llvm::raw_fd_ostream out(spath.c_str(), false, err);
|
llvm::raw_fd_ostream out(spath.c_str(), false, true, err);
|
||||||
if (err.empty())
|
if (err.empty())
|
||||||
{
|
{
|
||||||
write_asm_to_file(*gTargetMachine, *m, out);
|
write_asm_to_file(*gTargetMachine, *m, out);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue