Displaying 2 results from an estimated 2 matches for "required_om_entri".
Did you mean:
required_om_entry
2020 May 07
2
How to force unused external routine declaration into object
I'm defining an external function in the IR that has no uses at all. No
calls, no address taken, nada.
Such an unused declaration seems to be just dropped on the floor as not
needed. Seems reasonable in most cases.
However, one of my OpenVMS compilers (BLISS) has a language rule that
expects such definitions to get into the ELF symbol table as a way to
compel the linker to include certain
2020 May 08
2
How to force unused external routine declaration into object
I had thought about "used", but not aware of the @llvm.used, et al.
I wrote some test programs with __attribute__((used)) but that felt like
something you'd put on function definitions to force code to be
generated regardless.
In the worst case, I'll do some metadata hack (I've ready had to do that
for BLISS' GLOBAL BIND feature).
Thanks for the response. I'll let