Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for build id test #1

Closed
wants to merge 290 commits into from
Closed

fix for build id test #1

wants to merge 290 commits into from

Conversation

sgronlun
Copy link
Owner

@sgronlun sgronlun commented Nov 1, 2023

  • Fix DML according to IPLDT standards
  • Fix bug in naming when init_as_subobj is instantiated in a bank or port
  • upload_simics: replace "next" with build-id 6149
  • Allow declaration of multiple variables in one statement -- SIMICS-7027
  • Provide initiator in bank instrumentation
  • Set theme jekyll-theme-midnight
  • ignore _config.yml
  • Repair documentation of field access order, and add test
  • Pass -r flag to gcc directly
  • upload_simics: replace "next" with build-id 6150
  • Add signal_port and signal_connect templates
  • Independent methods -- SIMICS-6181, SIMICS-6182, SIMICS-17632
  • Fix documentation mistakes
  • upload_simics: replace "next" with build-id 6153
  • Method Reference to Function Pointer Conversion -- SIMICS-14921
  • Suggest sizeoftype when erroring on sizeof -- SIMICS-17991
  • upload_simics: replace "next" with build-id 6154
  • upload_simics: replace "next" with build-id 6154
  • Add field range checks in 1.4 -- SIMICS-19194
  • Allow independent, startup and memoized as idents
  • Fix mistakes in docs re. independent methods
  • Remove self-defeatist coment in DMLC hacking guide
  • DMLC hacking guide: fix grammar mistake
  • upload_simics: replace "next" with build-id 6157
  • port-dml: substitute unmapped_offset for undefined -- SIMICS-19191
  • upload_simics: replace "next" with build-id 6158
  • Fix issue where certain 1.4 params couldn't referenced in 1.2 modules
  • Doc improvements -- SIMICS-18539, -18138, -18373, -18381, -19209
  • Simple uses of independent startup memoized in dml-builtins
  • Fix independent methods not being exported correctly
  • upload_simics: replace "next" with build-id 6160
  • upload_simics: replace "next" with build-id 6161
  • Don't expect fields in register_view
  • Clarify the intended use of the read_constant template
  • Turn all template references into links
  • Remove redundant "Log output: None" statements
  • Improve -g documentation, scaffolding for patches to dml-gdb
  • Whitelist based type checking for casts -- SIMICS-17955
  • Revert "Allocate trait vtable instances on the heap"
  • Use indices from traitref, instead of inferring from pointer arithmetic
  • Cover nontrivial indexing of session variables
  • Rename crep
  • Use encoded index when accessing session variables
  • Represent parameters in object arrays as arrays in vtables
  • Share vtable instance across object arrays
  • Only allocate params dynamically in multidim objects
  • Disable optimization for trait init methods
  • Capture early when 'each in' is used with implicit static indices
  • Disallow template references to objects with implicit static indices
  • Only array-expand parameters that rely on an index variable
  • Avoid duplicate side-effects in session refs
  • Don't split trait initialization into multiple functions
  • Correctly initialize params with partially const types
  • Avoid vtable array expansion for 'each T in this'
  • Split vtable initialization into smaller functions again
  • More tests, address non-indexed const typed params
  • Remove dead error
  • Add EASZLARGE error
  • Improve test for large vtable arrays
  • Reduce the size of each_in_t
  • Print Simics command line if it failed
  • Avoid generating arrays of size 0
  • Move related functions closer to each other
  • explode_ranges: bail out if EIDXVAR
  • Fix rebase issues with shared independent startup memoized methods
  • Repair test
  • 1.4: utility: Allow user to override signal methods in hreset template
  • Repair IS_INT64 macro
  • T_trait_largearray: bump memory bounds check to 1024 KiB
  • upload_simics: replace "next" with build-id 6171
  • Log messages for unmapped accesses from unmapped_{read,write}
  • Refactor logic for before/after callbacks
  • Add comment
  • upload_simics: replace "next" with build-id 6173
  • Keep line numbers separately in SimpleSite
  • Generate deinit before processing method queue -- SIMICS-19598
  • Update BZ references to JIRA references
  • upload_simics: replace "next" with build-id 6176
  • Port test and create issue for BZ 4582
  • Don't pollute stderr
  • Remove strange tests
  • Relabel test that happens to cover SIMICS-11957
  • Change failures into stability tests
  • Make instantiating _qname free -- SIMICS-19564
  • Repair XFAIL further, SIMICS-11098
  • Update signatures to match DML 1.4 syntax, SIMICS-18445
  • Add '...' syntax to allow partial designated initializers -- SIMICS-18705
  • Revert previous SimpleSite change
  • Polish site strings
  • Don't generate #line directives for SimpleSite
  • Add sites to all symbols
  • Allow enabling line directives when running test suite
  • Improve test output on failure
  • Move some % formatting to f-strings
  • Improve documentation configuration param, SIMICS-18590
  • Add releasenote for 5946216
  • upload_simics: replace "next" with build-id 6177
  • Clarify documentation for the destroy method
  • Ensure serialized identity of device is unique -- SIMICS-19679
  • Serializable template types -- SIMICS-18507
  • Only report None tokens as EOF
  • upload_simics: replace "next" with build-id 6178
  • Remove questionable code
  • Specify that methods are static
  • Create attributes for saved in port in group, SIMICS-19422
  • Fix ICE from trait reference initializers -- SIMICS-20145
  • Don't reference register numbers in documentation
  • upload_simics: replace "next" with build-id 6183
  • Reverse order of conditions
  • Check that we don't write -- in markdown
  • upload_simics: replace "next" with build-id 6184
  • Fix trait reference params causing broken debug files -- SIMICS-20200
  • Make the method map_target.set 'default'
  • upload_simics: replace "next" with build-id 6187
  • Codegen empty vtables as empty structs
  • Allow casts from any template type to object -- SIMICS-19950
  • Update FSM example in docs to use serializable template types
  • Fix live vtables causing methods of dead vtables to be live -- SIMICS-20308
  • Update binaries path
  • upload_simics: replace "next" with build-id 6190
  • Add init_val param to standard attribute templates -- SIMICS-20108
  • Make NULL a magic constant
  • Softcode attribute registration for _conf_attributes -- SIMICS-6271
  • Propagate sets of proxy array attributes during configuration
  • Make vtables live when the template type is serialized -- SIMICS-20301
  • Tweak test 1.4/structure/trait_dce to be more robust
  • Fix bug in DMLC_DUMP_INPUT_FILES
  • register_view: unique names for fields in arrays -- SIMICS-18244
  • Support .len for any expression of sequence type -- SIMICS-20278
  • upload_simics: replace "next" with build-id 6191
  • Update copyright year
  • Dodge name clash, HSD-ES 15012582368
  • Remove obsolete copyright code
  • remove obsolete XFAIL
  • Add test that ambiguous inheritance can be resolved by override
  • Avoid having to pass -L when re-running test manually
  • Don't declare a temporary struct instance as a local variable
  • upload_simics: replace "next" with build-id 6195
  • Add DMLC_GATHER_SIZE_STATISTICS environment variable
  • Also profile code sizes from shared methods
  • Add test for DMLC_GATHER_SIZE_STATISTICS
  • Add --noline flag, needed when run from the t226_pypy test
  • Distribute dmlc as .py instead of .pyc
  • Run tests in mini-python
  • Enable line directives by default
  • Implement a set data structure whose iteration preserves insertion order
  • Replace set with Set and list to avoid nondeterministic output
  • Validate that two runs with different pythons give the same C output
  • fix minor typos
  • replace OrderedDict with dict and Set
  • Enforce gcc -O2
  • Skip GCC step for some tests where this is irrelevant and slow
  • Reduce GCC time in slow test
  • Add releasenote
  • Distribute newly added file
  • Remove the expect function from the 1.4 test framework
  • Avoid possible undefined behaviour
  • upload_simics: replace "next" with build-id 6200
  • Coverity Support and Undocumented Pragma
  • Remove redundant WEXPERIMENTAL annotation
  • Add releasenote for --coverity option
  • Typed set/get variants for standard attribute templates -- SIMICS-17951
  • Do not emit WEXPERIMENTAL about multiple defaults in dml12-compatibility
  • inline methods: fix ICE and mistreatment by -g -- SIMICS-20549
  • Fix nondeterminism in Template.traits()
  • Revert "Typed set/get variants for standard attribute templates -- SIMICS-17951"
  • upload_simics: replace "next" with build-id 6205
  • Add repo-local spelling passlist
  • Add porting rule for converting int1 to uint1
  • Remove the testing.dml lib for DML 1.4
  • Change empty catch blocks to assert false
  • Address review comments
  • Minor de/serialization revamp
  • Abstract extending late_global_struct_defs; add TStruct.anonymous
  • Touch-ups of stmt_after and LValue.write()
  • Initializer syntax for arguments -- SIMICS-20473
  • Tweak stmt_local logic re. try_codegen_invocation
  • upload_simics: replace "next" with build-id 6213
  • Support Simics API 7 for DML 1.2
  • Repair indentation
  • Random polish
  • Polish porting of return statements
  • Avoid inserting locals for outargs if unused
  • Add release note
  • Avoid old style command line options (SIMICS-20622)
  • Support function_mapped_bank on banks with use_io_memory=false
  • upload_simics: replace "next" with build-id 6215
  • Do not use 5 API tests in Simics 7
  • Remove integer_t and uinteger_t in Simics 7
  • Improve DML_DUMP_INPUT_FILES
  • Avoid legacy Register_LE form
  • Enable use_io_memory for generated io_memory_access overrides
  • Make explicit assumptions on use_io_memory
  • Use io_memory explicitly in shared 1.2/1.4 banks
  • Improve how DML 1.2 survives common code with use_io_memory=false
  • Address review feedback
  • Fix typos
  • Remove the dml12_compat_access_override template
  • Avoid broken C code generation, SIMICS-21044
  • upload_simics: replace "next" with build-id 6218
  • Avoid relying on which exact exception an attribute getter throws
  • Warn about bad pointer-to-pointer casts -- SIMICS-20863
  • Suppress copy_paste_error Coverity false positive in dml-builtins
  • mkCast: permit cast from expr of struct type to that same struct
  • Fix deconstifying bugs in deserialization
  • TLayout.clone(): clone .members if available
  • Support up to 63 log groups -- SIMICS-21138
  • Revert "Support up to 63 log groups -- SIMICS-21138"
  • Remove module signing
  • Remove use of simicsutils.internal.is_same_file
  • upload_simics: replace "next" with build-id 6223
  • Adapt to new package-spec format
  • Temporarily permit both old and new package-specs format
  • Have zero-initialized _identity_t be invalid
  • Hooks and after-on-hooks -- SIMICS-20358
  • Avoid deprecated option forms
  • Avoid internal function simics_root_path
  • Remove dangling reference to hook arrays in documentation
  • Remove compat hack
  • Test distributed API files only
  • Make equalities with zero-initialized traitrefs raise critical error
  • Add 1.4 variant of the ethernet common code
  • Make the 1.4 ethernet code common for 1.2 and 1.4
  • Revert "Merge pull request Port the ethernet common code to DML 1.4 intel/device-modeling-language#197 from intel/ethernet-1-4"
  • Add 7-specific dmlc groups
  • upload_simics: replace "next" with build-id 6231
  • Read the previous register value before a partial inquiry write
  • Fix ICE when serializing long or size_t -- SIMICS-21424
  • Give size_t and long dedicated type signatures
  • Don't rely on UB enum semantics for more than 32 log groups
  • Immediate After Statement -- SIMICS-20379
  • Soothe static analysis on Windows
  • Fix HookSendApply.read() returning a statement rather than an expression
  • Fix attribute registration inside ports in object arrays -- SIMICS-21474
  • Update docs for signal_port and signal_connect
  • Trait trampolines: declare _flat_index as uint32
  • upload_simics: replace "next" with build-id 6244
  • Warn if log groups are used as log level, or vice versa -- SIMICS-21138
  • Shut up linter
  • Remove the --illegal-attrs flag
  • Remove --version, which was ignored
  • Migrate from optparse to argparse
  • Rename function
  • Refactor: Re-use common function
  • Factor out params for API version ranges
  • Add option for listing all warning tags
  • upload_simics: replace "next" with build-id 6247
  • Correct some line directives, to avoid noise in coverage reports
  • Add --deprecate=PORT_PROXY_IFACES
  • Add PORT_PROXY_ATTRS deprecation
  • Add documentation for --deprecation
  • Convert --strict-dml12 to three deprecation tags
  • Use integers to represent API versions
  • Change --deprecate to --no-compat
  • Refactor: represent API versions with a dedicated class
  • Validate that dml-builtins declares all autoparams
  • Use compat system for --strict-int
  • Use compat to control the default of use_io_memory param
  • Use compat system for the obj param of ports/banks
  • Repair odd ICE
  • Avoid errors on typeof $this in arrays of registers or fields
  • Avoid overflow with --no-compat=dml12_int
  • Add rudimentary tests for help flags
  • Add release note for --no-compat flag
  • Avoid incorrect ENAMECOLL with dml12_misc
  • Extract goto to a separate compat feature
  • Temporarily bump last API of port proxy flags to 7
  • Improve some #line directives
  • Add script to find globally dead DML methods
  • Split CC environment variable in case compiler is decorated
  • Make releasenotes display consistently
  • Address inconsistencies across specs of CompatFeature.short
  • STATIC_ASSERT to forbid device structs 4 GiB or larger
  • Fix logging always using the device object within shared methods -- SIMICS-11346
  • Gate fix behind --no-compat=shared_logs_on_device
  • Use the _log_object_assocs array for softcoded proxy attribute registration
  • upload_simics: replace "next" with build-id 6252
  • Selectively allow generation of line directives
  • Fix inconsistency with linemark generation with assignments
  • Address bugs due to lack of linemark generation
  • Add linemarks test, address issues found by it
  • Windows hotfix for linemarks test
  • Don't transform empty compounds to ;
  • Avoid wrapping constants in multiple layers of InlineParam
  • Fix release note for the new build-id check

mandolaerik and others added 30 commits July 1, 2022 23:22
crep_method is still a bad name, but at least consistent with other crep_*
This way, the vtable member can be constant across object arrays
This is a first step, uses quadratic memory since vtables are still
expanded across arrays (causes violent death in T_largearray)
I failed to create a focused test case; static indices happen at an early
stage when it's difficult to get hold of an object reference.
Also simplify initialization logic by calling out() directly

with __attribute__((optimize("O0")), the split no longer adds speed.
Marking the function as -O0 is insufficient with gcc versions < 12
because of a bug.
This affects compile speed; gcc likes generating code for
struct initializers that don't exceed size 16
This makes it easier to reproduce segfaults with gdb attached.
This gave compile warnings with GCC 11.
1.4: utility: Allow user to override signal methods in hreset template
It detected any 32-bit integer value as being int64
mandolaerik and others added 28 commits October 11, 2023 15:56
Triggered by `VPOP + VPOP` when compiling with --no-compat=dml12_int,
or by 1.2/errors/EAPPLY when enabling --no-compat=dml12_int,dml12_misc
Passing --no-compat=dml12_misc triggers this in many tests.
Deprecating requires updating lots of tests and components; better to push
that to a separate PR.
* Make releasenotes display consistently

In particular, use prefix for the tracker-system, always a space before the
bug-tag, as well as no dot before the tag but after - SIMICS-21408.
This is a kludge; RAII will fix this more thoroughly through its write/assign_to revamp
Port `Statement.toc()` family rework from RAII PR

Don't DML linemark code injected by memoized methods

Suppress redundant line directive generation
This matters for Coverity's `STRAY_SEMICOLON` checker.
We didn't notice this before as `If.toc()` always used to emit braces.
This sometimes triggered errors in the old PCI library
(`update_mapping("I/O")`)
@sgronlun sgronlun closed this Nov 1, 2023
@sgronlun sgronlun deleted the fix-for-build-id-test branch November 1, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.