Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0a24d43 authored by Steven Moreland's avatar Steven Moreland
Browse files

Disable leak detection locally.

Before it was disabled globally.

Bug: 141583809
Test: build w/ ASAN on host
Change-Id: Ib92111f2397ebc93a3299f502ae1c6cebb5eff05
parent 8d93cead
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -207,6 +207,11 @@ bool parse_one_file(std::filesystem::path input_file, std::filesystem::path incl

}  // namespace

// TODO(b/141583809): stop leaks
extern "C" const char* __asan_default_options() {
  return "detect_leaks=0";
}

int main(int argc, const char** argv) {
  std::filesystem::path out_dir;
  std::filesystem::path include_dir;