Remove faulty fallback for unknown functions
authorCharles Giessen <charles@lunarg.com>
Wed, 15 May 2024 23:53:12 +0000 (18:53 -0500)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 16 May 2024 00:51:35 +0000 (18:51 -0600)
commitffb58e22d94823e28846a20e0643afd0956af76b
tree8bec53da460e99e03f006a27ba3132a003770153
parent1e8781effc88d0cea1a443ea3e0023726fd58eb4
Remove faulty fallback for unknown functions

This code was only used when the required assembly code for unknown function
was missing or intentionally disabled. Because it relied on the implementation
of the compiler to optimize the code in such a way as to not disturb passed in
parameters, the fallback code could not be relied on to work. Removing the
fallback path simplifies the support matrix by making unknown functions
definitely not supported (and will return NULL when queried), whereas with the
fallback the code may work or may crash.
BUILD.gn
loader/CMakeLists.txt
loader/unknown_ext_chain.c [deleted file]
loader/unknown_function_handling.c