Sam Clegg

Results 826 comments of Sam Clegg

Regarding making the names prettier I think that can be considered separately. The problem with naive approach of using underscore as a separator is that underscore is valid as part...

I would like to suggest an alternative linking method that doesn't rely on the C static linker to resolve names at all. How about this: 1. Exports as left as...

> Ha, I think @yhdengh was here at one point in working on #1814. Here's why I think we hesitated: > > 1. If a module imports multiple things from...

I think its highly unlikely that binding directly to normal system symbols such as "abort" would be desirable or functional. Firstly, function argument are very unlikely to work as expected....

Could this be extended to entire groups of globals that a mutually only ever read from for the purpose of be written back to? I found the "read-only-to-write" terminology initially...

> Ideally for us would be per memory segment, so we don't have to relocate all read only memory to a specific range once compilation is done. For instance, when...

Ah OK, maybe my comment is less relevant to AS then. It seems like it would be good to be able to encode this kind of information directly into the...

Can you attach the object files? Can you explain what you mean by "roudtripping" exactly? I'm pretty sure object files don't round trip because the contain a linking section with...

Yeah the relocation data is not read into the IR as far I know, so that approach won't work. If you are only looking at renaming symbols then a tool...

In a sense wabt is simpler yes. I think llvm-objcopy is the right tool for this job though, and you will probably be surprised how (relatively) simple the object file...