-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error defining multiple symbols with the same name in different files #369
Comments
Are you referring to files other than the main elf? each file you are disassembling with splat should have its own symbol_addrs file |
The disassembly generated by splat is always globally visible. There's no concept of file scope, specially because the generated disassembly does not respect the original TUs but instead they disassemble each section of a TU separately. If you really want to have duplicated symbol names on your symbol_addrs file then you can use the |
I mean across the main file. IE, in different header or C, CPP files. It's an effect of them using a generic template or type T and the compiler obviously making multiple implementations for the same thing repeatedly. |
Ah okay, Idk anything about c++ template codegen |
When trying to fill in symbol_addrs.txt I have multiple of the same symbol that exist in different files across my project
IE. https://github.com/weirdbeardgame/Fatal-Frame-2/blob/0867e03af6df3f48db396d2826c27eea63c1c1cd/symbol_addrs.txt#L3
Splat will throw an error that symbol already exists
Duplicate symbol detected! _fixed_array_verifyrange__H1ZPv_UiUi_PX01 has already been defined at vram 0x0011CF10
Is there some way we can specify what file or scope this exists in?
The text was updated successfully, but these errors were encountered: