CHERIoT-Platform/llvm-project
View on GitHubLLD QOI: Warn if an export name matches a non-exported symbol
Open
#55 opened on Dec 4, 2024
good first issue
Repository metrics
- Stars
- (9 stars)
- PR merge metrics
- (PR metrics pending)
Description
Export symbols are of the form export{compartment name}{mangled symbol name}. If we fail to resolve one of these, it would be nice to see if any of the input files has a private symbol that matches {mangled symbol name} and provide a diagnostic. This can happen if you have failed to mark a function with the __cher_compartment macro in the definition, but you did in a declaration that was visible to the caller.