163860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris/*
263860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * Copyright (C) 2015 The Android Open Source Project
363860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris *
463860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * Licensed under the Apache License, Version 2.0 (the "License");
563860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * you may not use this file except in compliance with the License.
663860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * You may obtain a copy of the License at
763860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris *
863860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris *      http://www.apache.org/licenses/LICENSE-2.0
963860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris *
1063860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * Unless required by applicable law or agreed to in writing, software
1163860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * distributed under the License is distributed on an "AS IS" BASIS,
1263860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1363860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * See the License for the specific language governing permissions and
1463860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris * limitations under the License.
1563860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris */
1663860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris
1763860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris#ifndef MALLOC_DEBUG_TESTS_BACKTRACE_FAKE_H
1863860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris#define MALLOC_DEBUG_TESTS_BACKTRACE_FAKE_H
1963860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris
2063860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris#include <stdint.h>
2163860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris
2263860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris#include <vector>
2363860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris
2463860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferrisvoid backtrace_fake_clear_all();
2563860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferrisvoid backtrace_fake_add(const std::vector<uintptr_t>& ips);
2663860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris
2763860cb8fd1adf3f679b9b4ad876323a8d65cd9dChristopher Ferris#endif // MALLOC_DEBUG_TESTS_BACKTRACE_FAKE_H
28