From 9a3bd236682ad555b36921423fb6591a974b77fa Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 5 Feb 2016 13:31:14 +0000 Subject: Prefix external symbols in llvm-c-test. This makes it less likely to clash with other stuff that might be linked in by change, e.g. ncurses exposes an external function called simply "echo", so linking ncurses statically into the binary explodes in funny ways. llvm-svn: 259882 --- llvm/tools/llvm-c-test/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-c-test/object.c') diff --git a/llvm/tools/llvm-c-test/object.c b/llvm/tools/llvm-c-test/object.c index a5421d9066d..809ad54f872 100644 --- a/llvm/tools/llvm-c-test/object.c +++ b/llvm/tools/llvm-c-test/object.c @@ -17,7 +17,7 @@ #include #include -int object_list_sections(void) { +int llvm_object_list_sections(void) { LLVMMemoryBufferRef MB; LLVMObjectFileRef O; LLVMSectionIteratorRef sect; @@ -49,7 +49,7 @@ int object_list_sections(void) { return 0; } -int object_list_symbols(void) { +int llvm_object_list_symbols(void) { LLVMMemoryBufferRef MB; LLVMObjectFileRef O; LLVMSectionIteratorRef sect; -- cgit v1.2.3