labath wrote:

>  I create the specially named section by compiling an assembly file that puts 
> a byte in the section which makes for a bit of a messy Makefile

You probably don't need an asm file for that. There are at least [two 
ways](https://godbolt.org/z/4sTrdrT49) to generate a random section from C:
```
asm(R"(.section ".text.foo"; .byte 0)");

void  __attribute__((section(".text.bar"))) f(){}
```

https://github.com/llvm/llvm-project/pull/129967
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to