You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After debugging a lot of hours i think the problem is on translating #10 (SrcResolveResult) into #11 GenStructFieldPtr and :10 (GenConst). Maybe this is an aliasing problem (#18 (GenStorePtr) is marked as ConstValSpecialRuntime but neither #13 (GenCast) nor #11 (GenStructFieldPtr) get recognized as such.
Any guidance on how to understand better the problem is welcome. I know phase1 is not the current focus so i hope this issue doesn't add a lot of noise :)
The text was updated successfully, but these errors were encountered:
SpexGuy
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Mar 17, 2021
I think this is the problem behind #6043 and #7878
Example code:
A snippet of the generated code for the first example (output from objdump because it's a bit less noisy than -femit-asm):
ds:0x0
is the relocation to be filled with the pointer of.rodata.cst8
IR generation log for the same function:
After debugging a lot of hours i think the problem is on translating
#10 (SrcResolveResult)
into#11 GenStructFieldPtr
and:10 (GenConst)
. Maybe this is an aliasing problem (#18 (GenStorePtr)
is marked asConstValSpecialRuntime
but neither#13 (GenCast)
nor#11 (GenStructFieldPtr)
get recognized as such.Any guidance on how to understand better the problem is welcome. I know phase1 is not the current focus so i hope this issue doesn't add a lot of noise :)
The text was updated successfully, but these errors were encountered: