Support anonymous string literals in C-- (OR) give better ASSERT failure messages in C--
So if I say "foobar" in C--, it turns into:
section "rodata" {
fresh_name : bits8[] "foobar\0";
}
This would let us fix the ASSERT macro in Cmm.h to also get the filename. Requires parser changes.
Alternatively, we can redefine the ASSERT macro per C-- file to have a hardcoded filename with some preprocessor trickery.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | simonmar |
| Operating system | |
| Architecture |