[llvm-commits] [llvm-gcc-4.0] r46299 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
Devang Patel
dpatel at apple.com
Wed Jan 23 18:16:26 PST 2008
Author: dpatel
Date: Wed Jan 23 20:16:26 2008
New Revision: 46299
URL: http://llvm.org/viewvc/llvm-project?rev=46299&view=rev
Log:
Fix build failure.
objc-act.c:18368: warning: implicit declaration of function ‘llvm_emit_file_scope_asm’
Modified:
llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
Modified: llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/objc/objc-act.c?rev=46299&r1=46298&r2=46299&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/objc/objc-act.c (original)
+++ llvm-gcc-4.0/trunk/gcc/objc/objc-act.c Wed Jan 23 20:16:26 2008
@@ -76,6 +76,9 @@
#include "langhooks-def.h"
/* APPLE LOCAL optimization pragmas 3124235/3420242 */
#include "opts.h"
+#ifdef ENABLE_LLVM
+#include "llvm.h" /* for reset_initializer_llvm */
+#endif
#define OBJC_VOID_AT_END void_list_node
More information about the llvm-commits
mailing list