search for: fixedaddr

Displaying 1 result from an estimated 1 matches for "fixedaddr".

Did you mean: fixed_addr
2011 Dec 06
3
[LLVMdev] Extend llvm to fix global addresses
...l driver code tends to contain things like this *(int*)0x00001000 which is horrible. Alternatively people are using linker scripts and assembly hacks to put symbols at fixed addresses. I propose we add first class support to this in the compiler. Like addrspace(#) we should have something like fixedaddr(#) to put a symbol at the address specified (naming is open to suggestions) Support for this would be needed in the following places: Clang - with suggestions open to syntax, particularly if anyone knows of existing compilers with syntax for this IR - "fixedaddr" as above with new attrib...