| OLD | NEW |
| 1 # NOTE: this is a machine readable list of symbols that can legally be used | 1 # NOTE: this is a machine readable list of symbols that can legally be used |
| 2 # by bitcode without being defined by bitcode because they are | 2 # by bitcode without being defined by bitcode because they are |
| 3 # * linker-defined | 3 # * linker-defined |
| 4 # * provided by native libraries | 4 # * provided by native libraries |
| 5 # * known to ALL llc backends | 5 # * known to ALL llc backends |
| 6 # Empty lines and lines starting with '#' are ignored | 6 # Empty lines and lines starting with '#' are ignored |
| 7 # | 7 # |
| 8 # One way to use this list and check a bunch of pexes is: | 8 # One way to use this list and check a bunch of pexes is: |
| 9 # | 9 # |
| 10 # for i in scons-out/nacl-x86-64-pnacl/obj/tests/*/*pexe ; do | 10 # for i in scons-out/nacl-x86-64-pnacl/obj/tests/*/*pexe ; do |
| 11 # echo $i | 11 # echo $i |
| 12 # toolchain/linux_arm-untrusted/arm-none-linux-gnueabi/bin/llvm-ld -o xxx $i -
-nacl-abi-check --nacl-legal-undefs tools/llvm/non_bitcode_symbols.txt | 12 # toolchain/pnacl_linux_x86_64/arm-none-linux-gnueabi/bin/llvm-ld \ |
| 13 # -o xxx $i --nacl-abi-check --nacl-legal-undefs \ |
| 14 # tools/llvm/non_bitcode_symbols.txt |
| 15 # |
| 13 # done | 16 # done |
| 14 # | 17 # |
| 15 ###################################################################### | 18 ###################################################################### |
| 16 | 19 |
| 17 # llvm buitins | 20 # llvm buitins |
| 18 # TODO(robertm): there are likely a few more missing | 21 # TODO(robertm): there are likely a few more missing |
| 19 llvm.memcpy.p0i8.p0i8.i32 | 22 llvm.memcpy.p0i8.p0i8.i32 |
| 20 llvm.memset.p0i8.i32 | 23 llvm.memset.p0i8.i32 |
| 21 llvm.memset.p0i8.i64 | 24 llvm.memset.p0i8.i64 |
| 22 llvm.memmove.p0i8.p0i8.i32 | 25 llvm.memmove.p0i8.p0i8.i32 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 fabs | 113 fabs |
| 111 | 114 |
| 112 # a weak symbol declared in: src/untrusted/pthread/nc_thread.c | 115 # a weak symbol declared in: src/untrusted/pthread/nc_thread.c |
| 113 __thread_exit_hook | 116 __thread_exit_hook |
| 114 | 117 |
| 115 # these need to be investigated: | 118 # these need to be investigated: |
| 116 memmove | 119 memmove |
| 117 llvm.sqrt.f64 | 120 llvm.sqrt.f64 |
| 118 llvm.sqrt.f32 | 121 llvm.sqrt.f32 |
| 119 | 122 |
| OLD | NEW |