projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2ff8a
)
Disallow the 'soft-debug' aot option when compiling using LLVM.
author
Zoltan Varga
<vargaz@gmail.com>
Fri, 7 Jan 2011 13:37:21 +0000
(14:37 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Fri, 7 Jan 2011 13:37:21 +0000
(14:37 +0100)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 532e6bf467e1b827356e82873577f5c529393960..174ef9d140f2eff36239e826060f7874ed222365 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-6639,6
+6639,11
@@
mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options)
acfg->llvm = TRUE;
acfg->aot_opts.asm_writer = TRUE;
acfg->flags |= MONO_AOT_FILE_FLAG_WITH_LLVM;
+
+ if (acfg->aot_opts.soft_debug) {
+ fprintf (stderr, "The 'soft-debug' option is not supported when compiling with LLVM.\n");
+ exit (1);
+ }
}
if (acfg->aot_opts.full_aot)