Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Side by Side Diff: third_party/crashpad/crashpad/util/misc/address_sanitizer.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2016 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with 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 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #error This file is not intended to be #included. 15 #ifndef CRASHPAD_UTIL_MISC_ADDRESS_SANITIZER_H_
16 #define CRASHPAD_UTIL_MISC_ADDRESS_SANITIZER_H_
16 17
17 //! \namespace crashpad 18 #include "base/compiler_specific.h"
18 //! \brief The main namespace. 19 #include "build/build_config.h"
19 20
20 //! \namespace crashpad::internal 21 #if !defined(ADDRESS_SANITIZER)
21 //! \brief The internal namespace, not for public use. 22 #if HAS_FEATURE(address_sanitizer) || \
23 (defined(COMPILER_GCC) && defined(__SANITIZE_ADDRESS__))
24 #define ADDRESS_SANITIZER 1
25 #endif
26 #endif // !defined(ADDRESS_SANITIZER)
22 27
23 //! \namespace crashpad::test 28 #endif // CRASHPAD_UTIL_MISC_ADDRESS_SANITIZER_H_
24 //! \brief The testing namespace, for use in test code only.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698