ASSERT(exp, message)
Ensure that exp is non-zero. If it is zero, then exit the linker with an error
code, and print message.
Looks ASSERT is useful and used by some projects. I noticed it here:
https://searchcode.com/codesearch/view/42878166/
Differential D22912
[ELF] - Linkerscript: implemented ASSERT() keyword. grimar on Jul 28 2016, 4:44 AM. Authored by
Details ASSERT(exp, message) Looks ASSERT is useful and used by some projects. I noticed it here:
Diff Detail
Event TimelineComment Actions Last time we made a decision not to implement ASSERT, but now we have a good codebase to support arbitrary functions, it is probably time to do it. Thank you for doing this.
Comment Actions
I found there are 2 forms of ASSERT that can be used in scripts:
I updated the code to support first form as well.
Comment Actions
Comment Actions Almost looking good, but looks like there is a bug.
Comment Actions
|