aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2018-10-24 09:40:05 +0100
committerGitHub <noreply@github.com>2018-10-24 09:40:05 +0100
commit2bd85e764e32beba498addad93aef6f618395394 (patch)
tree1b65f3cdf2a043761019c0acb9e8adcab73c5a70 /src/main.cpp
parent822e4894f2a37d372dcb46db5185ad2c4d140d98 (diff)
parentd894fb37087a100eeea2a0de1da89bda390e1306 (diff)
Merge pull request #260 from lachsinc/master
[WIP] Provide llvm with more debug info (for Visual Studio debugger support)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 87c1ad511..ed72b5f0a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -665,9 +665,6 @@ i32 exec_llvm_opt(String output_base) {
// For more passes arguments: http://llvm.org/docs/Passes.html
return system_exec_command_line_app("llvm-opt", false,
"\"%.*sbin/opt\" \"%.*s.ll\" -o \"%.*s.bc\" %.*s "
- "-mem2reg "
- "-memcpyopt "
- "-die "
"",
LIT(build_context.ODIN_ROOT),
LIT(output_base), LIT(output_base),
@@ -677,9 +674,6 @@ i32 exec_llvm_opt(String output_base) {
// with the Windows version, while they will be system-provided on MacOS and GNU/Linux
return system_exec_command_line_app("llvm-opt", false,
"opt \"%.*s.ll\" -o \"%.*s.bc\" %.*s "
- "-mem2reg "
- "-memcpyopt "
- "-die "
"",
LIT(output_base), LIT(output_base),
LIT(build_context.opt_flags));