LeeYoungJoon
0a93ff515d
Centralize and document TRACE tags using X-macros ( #7657 )
...
* Introduce X-macro-based trace tag definition
- Created trace_tags.def to centralize TRACE tag definitions
- Each tag includes a symbolic name and description
- Set up enum class TraceTag for type-safe usage in TRACE macros
* Add script to generate Markdown documentation from trace_tags.def
- Python script parses trace_tags.def and outputs trace_tags.md
* Refactor TRACE_NEW to prepend TraceTag and pass enum to is_trace_enabled
* trace: improve trace tag handling system with hierarchical tagging
- Introduce hierarchical tag-class structure: enabling a tag class activates all child tags
- Unify TRACE, STRACE, SCTRACE, and CTRACE under enum TraceTag
- Implement initial version of trace_tag.def using X(tag, tag_class, description)
(class names and descriptions to be refined in a future update)
* trace: replace all string-based TRACE tags with enum TraceTag
- Migrated all TRACE, STRACE, SCTRACE, and CTRACE macros to use enum TraceTag values instead of raw string literals
* trace : add cstring header
* trace : Add Markdown documentation generation from trace_tags.def via mk_api_doc.py
* trace : rename macro parameter 'class' to 'tag_class' and remove Unicode comment in trace_tags.h.
* trace : Add TODO comment for future implementation of tag_class activation
* trace : Disable code related to tag_class until implementation is ready (#7663 ).
2025-05-28 14:31:25 +01:00
Nikolaj Bjorner
92065462b4
use std::exception as base class to z3_exception
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-11-04 11:08:15 -08:00
Nuno Lopes
552068a71e
let the replayer stop when it encounters a C command with invalid args
2024-05-17 11:10:09 +01:00
Nikolaj Bjorner
b451735aa0
fix #6778
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-06-25 21:08:13 -07:00
Nuno Lopes
73a24ca0a9
remove '#include <iostream>' from headers and from unneeded places
...
It's harmful to have iostream everywhere as it injects functions in the compiled files
2022-06-17 14:10:19 +01:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nikolaj Bjorner
541658fe02
move to abstract symbols
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-10 12:14:13 -08:00
Nuno Lopes
4643fdaa4e
remove a few str copies when throwing exceptions
2019-10-08 22:29:17 +01:00
Nikolaj Bjorner
51b75a132c
signed char -> int, update mk_util to catch warnings on fptest, thanks to jfc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-02 17:22:36 -07:00
Nikolaj Bjorner
1d46d5c870
use signed char per porting issue for ARM/64
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-02 15:53:32 -07:00
Nikolaj Bjorner
7d0d7e6343
have replayer handle oom natively
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-19 10:59:12 -08:00
Nikolaj Bjorner
fed977b492
fix #1782
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-08-02 10:08:16 -07:00
Bruce Mitchener
16a2ad9afd
Use stdint.h for int64_t / uint64_t in API.
...
Now that we can use stdint.h, we can use it to portably define
64 bit integer types for use in the API.
2018-03-30 23:06:24 +07:00
Nikolaj Bjorner
76dec85c93
use stdbool #1526 instead of int
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-27 15:41:53 -07:00
Bruce Mitchener
76eb7b9ede
Use nullptr.
2018-02-12 14:05:55 +07:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Nikolaj Bjorner
c44dd01292
fix missing else reported in #855
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-22 20:56:14 -08:00
Christoph M. Wintersteiger
2df5a4e3f9
typo
2016-11-12 15:01:54 +00:00
Christoph M. Wintersteiger
1188e6df47
Typo
2016-11-08 15:28:20 +00:00
Christoph M. Wintersteiger
e22a67c12c
Whitespace
2016-11-08 15:27:46 +00:00
Nikolaj Bjorner
c5dd441947
fixes to consequence generation and cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-07 11:50:26 -07:00
Nikolaj Bjorner
b303fd59c0
add some version information (and date) to log file to make it easier to trap version mismatch on log files
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-28 18:11:30 -07:00
Nikolaj Bjorner
1c8e0918d8
move to std::vector in replayer
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 10:08:29 -07:00
Nikolaj Bjorner
9c6271dded
add debugging facilities for github issues #384 #367
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-22 10:43:18 -08:00
Nikolaj Bjorner
52619b9dbb
pull unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Nikolaj Bjorner
bd879c1016
improve logging diagnostics and tracing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-01-09 15:43:16 -08:00
Christoph M. Wintersteiger
cf81f86c67
build fixes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-04 18:52:23 +00:00
Christoph M. Wintersteiger
4f453703f7
Added arguments of type float to the replayer.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-01 15:23:02 +00:00
Nikolaj Bjorner
d1937b2032
add PB operators to C-based API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-11-13 17:09:10 -08:00
Leonardo de Moura
cd485f03dd
Add trace msg
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-20 17:02:15 -07:00
Leonardo de Moura
54e452a1af
chasing bug in the Java bindings
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-03 16:58:44 -08:00
Leonardo de Moura
80b2df3621
checkpoint
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-21 20:46:41 -07:00