symbolize_unimplemented.inc (1288B)
1 // Copyright 2018 The Abseil Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // https://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #include <cstdint> 16 17 #include "absl/base/internal/raw_logging.h" 18 19 namespace absl { 20 ABSL_NAMESPACE_BEGIN 21 22 namespace debugging_internal { 23 24 int InstallSymbolDecorator(SymbolDecorator, void*) { return -1; } 25 bool RemoveSymbolDecorator(int) { return false; } 26 bool RemoveAllSymbolDecorators(void) { return false; } 27 bool RegisterFileMappingHint(const void *, const void *, uint64_t, const char *) { 28 return false; 29 } 30 bool GetFileMappingHint(const void **, const void **, uint64_t *, const char **) { 31 return false; 32 } 33 34 } // namespace debugging_internal 35 36 void InitializeSymbolizer(const char*) {} 37 bool Symbolize(const void *, char *, int) { return false; } 38 39 ABSL_NAMESPACE_END 40 } // namespace absl