[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c
Reid Spencer
reid at x10sys.com
Wed Nov 24 10:47:48 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.59 -> 1.60
---
Log message:
If we're not supposed to generate debug stuff, then don't.
---
Diffs of the changes: (+3 -0)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.59 llvm-gcc/gcc/llvm-expand.c:1.60
--- llvm-gcc/gcc/llvm-expand.c:1.59 Thu Nov 18 23:25:46 2004
+++ llvm-gcc/gcc/llvm-expand.c Wed Nov 24 12:47:37 2004
@@ -7617,6 +7617,9 @@
*/
static void llvm_emit_dbg_stoppoint(llvm_function *Fn, unsigned lineNo,
unsigned colNo) {
+ // If we're not emitting debug info, just bypass this.
+ if (debug_info_level <= DINFO_LEVEL_NONE)
+ return;
llvm_instruction *stoppoint_inst;
llvm_instruction *load_dbg_inst;
llvm_instruction *store_dbg_inst;
More information about the llvm-commits
mailing list