Cortex-M3 low level assert issue.

Jack Applegame japplegame at gmail.com
Sun May 5 07:29:39 UTC 2019


On Saturday, 4 May 2019 at 19:06:26 UTC, kinke wrote:
> On Saturday, 4 May 2019 at 18:37:40 UTC, Jack Applegame wrote:
>> And why `-data-sections` flag also doesn't change anything?
>
> This seems to be the perfectly corresponding C++ question 
> (string literals placed shared readonly section) with a nice 
> answer:
> https://stackoverflow.com/questions/54996229/is-ffunction-sections-fdata-sections-and-gc-sections-not-working
>
> LDC emits these strings as private constants in LLVM IR.

Thanks. Now I see.


More information about the digitalmars-d-ldc mailing list