Jake Hillion
f47628ae2d
add test for folly::fbstring
2023-04-06 15:11:09 +01:00
Alastair Robertson
daa3cb06ec
Build with tests by default
2023-04-05 15:53:15 +01:00
Jay Kamat
8f150c3d15
Fix warning in drgn pure name changes
2023-04-03 14:53:18 -07:00
Jake Hillion
76f525f43d
codegen: carry decl and func with containerinfo
2023-04-03 16:13:30 +01:00
Alastair Robertson
10f47510d1
Integration tests: Remove typedefs from cycles.toml
...
uint64_t is a typedef. int is a primitive.
The cycles tests are going to be re-used to underpin some type-graph
unit tests. The patch removes unnecessary typedefs and makes the unit
tests simpler.
2023-04-03 13:02:03 +01:00
Samuel Nair
7097286d8a
Display the logo ( #116 )
...
Would be good to display the logo on the landing page.
2023-03-31 10:48:18 +01:00
Jay Kamat
ec7421b39b
Add drgn function for looking up by "pure name"
2023-03-29 09:23:11 -07:00
Jay Kamat
e27f725a85
Avoid following weak_ptrs
...
Previously, we treated weak_ptrs as normal types and we recursed
within them, following the internal data pointer and possibly causing
crashes. We really shouldn't be following them, so I added a custom
type to simply abort processing. If we want to handle them (ie: check
if they are valid, and follow them if so), that should be fairly easy
with the work there is here so far.
2023-03-28 14:10:27 -07:00
Alastair Robertson
fb58ccebac
Integration tests: Have target process print its pid
...
This makes it easier to work with when running multiple instances of it
manually, outside of the integration testing framework.
2023-03-28 16:42:14 +01:00
Alastair Robertson
bab21166f2
Integration tests: Remove redundant "array" from std_array.toml test names
2023-03-28 16:42:14 +01:00
Jay Kamat
f7c79c91c4
Quit oid when upload/download is requested but cache is disabled
2023-03-27 09:42:10 -07:00
Jake Hillion
675211aff5
tests: build integration.py targets with cmake
2023-03-27 16:15:37 +01:00
Jake Hillion
d2caaf22e8
formatting: force pointers/references with the type
2023-03-24 20:18:18 +00:00
Jake Hillion
2e74fa357a
std::variant: change to use std::visit
2023-03-24 18:43:37 +00:00
Alastair Robertson
512163f98e
Integration tests: Pass config to OIL tests on the command line
...
Instead of using an environment variable, pass the path to the config
file as a command line argument. This makes it possible to directly
copy the command being run (as show with --verbose) and run it in a
debugger outside of the test framework.
Old verbose output:
Running: /home/ajor/src/object-introspection3/build/test/integration/integration_test_target oil cycles_unique_ptr
New verbose output:
Running: /home/ajor/src/object-introspection3/build/test/integration/integration_test_target oil cycles_unique_ptr /home/ajor/src/object-introspection3/build/testing.oid.toml
2023-03-22 16:57:35 +00:00
Alastair Robertson
56f7147d39
Integration tests: Set expected results for cycles.toml
...
Format the raw_ptr test case with jq to remove tabs and deleted extra
data from the JSON.
2023-03-22 13:51:04 +00:00
Jake Hillion
c4194a9fbc
oil: remove fields in options
2023-03-20 16:26:10 +00:00
Jake Hillion
00b52fca6f
folly: create explicit folly_headers library target
2023-03-20 13:25:15 +00:00
Jake Hillion
f10e8a7173
folly: switch to FetchContent
2023-03-20 13:25:15 +00:00
Jake Hillion
a429733474
rocksdb: switch to FetchContent
2023-03-20 13:25:15 +00:00
Jake Hillion
06aa3e3d40
clear all warnings and enable -Werror
2023-03-20 11:14:55 +00:00
Jake Hillion
9fced15433
uintptr_t: prevent stubbing and renaming
2023-03-17 08:12:46 +00:00
Jake Hillion
7331b1dbf0
website: yarn upgrade
2023-03-16 13:49:02 +00:00
Jon Haslam
c9bedc0f84
Fix remove mappings ( #93 )
2023-03-13 17:06:39 +00:00
Jay Kamat
7a3cd2d6bc
Add tests for exclusive size
2023-03-10 11:46:30 -08:00
Jay Kamat
542f1a6743
Add experimental support for reporting exclusive sizes into rocksdb
2023-03-10 11:46:30 -08:00
Alastair Robertson
d9b13ff101
Integration tests: Test templates
2023-03-09 11:51:41 +00:00
Alastair Robertson
5dd92b7f7f
Integration tests: Test arrays
2023-03-09 11:51:41 +00:00
Alastair Robertson
4eaabbab84
Update drgn to pull in fix for GCC zero-lengh arrays
2023-03-09 11:51:41 +00:00
Alastair Robertson
9dd5c4b4cc
Integration Tests: Test typedefs
2023-03-09 11:51:41 +00:00
Alastair Robertson
340a5e6803
Integration Tests: Test enums
2023-03-09 11:51:41 +00:00
Alastair Robertson
18e636d68d
Integration tests: Add simple class and simple union tests
2023-03-09 11:51:41 +00:00
Alastair Robertson
de071e2e38
FuncGen: Remove dead code
2023-03-08 14:18:36 +00:00
Alastair Robertson
c9e46bee00
FuncGen: Make functions static where possible
...
This will make it easier to share between legacy and TypeGraph codegen.
2023-03-08 14:18:36 +00:00
Alastair Robertson
ccc90c3068
Split codegen into separate build targets
...
To help with the transition to type-graph based CodeGen, we need to
reduce dependencies on legacy CodeGen from other parts of OI.
Pieces of CodeGen referenced by other files, but which only return
drgn data have been moved into a new "drgn_utils" target, allowing
us to remove CodeGen dependencies for these functions.
The new "symbol_service" build target can be used in the future by
other files only needing access to symbol information and not full
CodeGen.
2023-03-08 14:18:20 +00:00
Jake Hillion
53ba312f1e
oilgen: change interface to support multiple calls in one cu
2023-03-07 19:48:18 +00:00
Jon Haslam
ac7a1d4aba
reduce race window for breakpoint trap in prologue ( #85 )
2023-03-04 08:06:19 +00:00
Jake Hillion
be273f6e0d
tests: make relative config paths absolute when copying
2023-02-28 15:13:48 -08:00
Jon Haslam
9e1a9ed36a
Replace nop instructions with ud2 ( #84 )
2023-02-27 16:49:42 -08:00
Jake Hillion
e3ff13fd5e
update rocksdb to 7.9.2
2023-02-27 11:26:39 -08:00
Jake Hillion
3a236aa4f2
sorted_vec_set: finish changing to a container adapter
2023-02-24 10:31:59 -08:00
Jake Hillion
b1c43c2b42
update folly and enable ci usage
2023-02-24 10:31:59 -08:00
Jon Haslam
878b9bfebb
add std::conditional test ( #79 )
2023-02-22 14:37:59 -08:00
Jake Hillion
febcea4928
oilgen: add check for drgn_type_has_name
2023-02-22 12:38:46 -08:00
Jon Haslam
39e19a9c47
Special case conditional_t type name handling ( #75 )
2023-02-21 13:16:26 -08:00
Alastair Robertson
9fd96ec3a4
integration/primitives.toml: Add char8_t test
2023-02-21 11:59:16 -08:00
Jon Haslam
e458ca99eb
Stop enumerating template params for sorted_vector_set ( #74 )
2023-02-21 11:24:02 -08:00
Jay Kamat
aa8980275f
Update drgn to fix invalid pop from iterator code
2023-02-17 12:33:52 -08:00
Alastair Robertson
72f995600e
Move getRootType from OICodeGen to SymbolService
...
To allow other parts of OI to remove dependencies on OICodeGen in the
future.
2023-02-17 11:53:10 -08:00
arsarwade
2d7692d7c1
Fix/remove some log statements ( #67 )
...
Summary:
Remove some more log statements to reduce output
Test Plan:
make test-devel
2023-02-17 11:41:10 -08:00