summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/object.c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-02-05 13:31:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-02-05 13:31:14 +0000
commit9a3bd236682ad555b36921423fb6591a974b77fa (patch)
tree0095e65cbe58c7b9fc4c89071c0d743ac2270c72 /llvm/tools/llvm-c-test/object.c
parent6274e5222d22e925c579721aed51ad334589210b (diff)
downloadbcm5719-llvm-9a3bd236682ad555b36921423fb6591a974b77fa.tar.gz
bcm5719-llvm-9a3bd236682ad555b36921423fb6591a974b77fa.zip
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
Diffstat (limited to 'llvm/tools/llvm-c-test/object.c')
-rw-r--r--llvm/tools/llvm-c-test/object.c4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
#include <stdlib.h>
-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;
OpenPOWER on IntegriCloud