Skip to content

Commit

Permalink
remove disable asan again
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Mar 18, 2024
1 parent 2ae3fb1 commit 051dd08
Show file tree
Hide file tree
Showing 42 changed files with 42 additions and 107 deletions.
20 changes: 2 additions & 18 deletions crates/re_types_builder/src/codegen/cpp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1384,20 +1384,12 @@ fn arrow_data_type_method(
return datatype;
}
};
let return_type = if is_forwarding {
// Disable asan since we got rather strange spurious ci failure on Linux with these methods:
// Some Linux runs end up spamming `AddressSanitizer:DEADLYSIGNAL` indefinitely with no additional information.1
hpp_includes.insert_rerun("compiler_utils.hpp"); // RR_DISABLE_ASAN
quote! { RR_DISABLE_ASAN const std::shared_ptr<arrow::DataType>& }
} else {
quote! { const std::shared_ptr<arrow::DataType>& }
};

Method {
docs: "Returns the arrow data type this type corresponds to.".into(),
declaration: MethodDeclaration {
is_static: true,
return_type,
return_type: quote! { const std::shared_ptr<arrow::DataType>& },
name_and_parameters: quote! { arrow_datatype() },
},
definition_body,
Expand Down Expand Up @@ -1501,14 +1493,6 @@ fn to_arrow_method(
return array;
}
};
let return_type = if is_forwarding {
// Disable asan since we got rather strange spurious ci failure on Linux with these methods:
// Some Linux runs end up spamming `AddressSanitizer:DEADLYSIGNAL` indefinitely with no additional information.1
hpp_includes.insert_rerun("compiler_utils.hpp"); // RR_DISABLE_ASAN
quote! { RR_DISABLE_ASAN Result<std::shared_ptr<arrow::Array>> }
} else {
quote! { Result<std::shared_ptr<arrow::Array>> }
};

Method {
docs: format!(
Expand All @@ -1517,7 +1501,7 @@ fn to_arrow_method(
.into(),
declaration: MethodDeclaration {
is_static: true,
return_type,
return_type: quote! { Result<std::shared_ptr<arrow::Array>> },
name_and_parameters: quote! {
to_arrow(const #quoted_namespace::#type_ident* instances, size_t num_instances)
},
Expand Down
3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/blueprint/components/active_tab.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/blueprint/components/panel_expanded.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/blueprint/components/root_container.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions rerun_cpp/src/rerun/compiler_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,3 @@
#else
#define RR_DISABLE_DEPRECATION_WARNING
#endif

// Disable ASAN.
#if defined(__GNUC__) || defined(__clang__)
#define RR_DISABLE_ASAN __attribute__((no_sanitize("address")))
#elif defined(_MSC_VER)
#define RR_DISABLE_ASAN __declspec(no_sanitize_address)
#else
#define RR_DISABLE_ASAN
#endif
3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/class_id.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/color.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/half_sizes2d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/half_sizes3d.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/keypoint_id.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/material.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/media_type.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/mesh_properties.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rerun_cpp/src/rerun/components/name.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 051dd08

Please sign in to comment.