Fix possible crash during array comparison with HackArrCompatCheckCompare
[hiphop-php.git] / hphp / util / eh-frame-msvc.h
blob21e4ee0cb2c7b7cdbc4ac02753a04dfd9c16e9cb
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
17 #ifndef HPHP_DWARF_MSVC_H_
18 #define HPHP_DWARF_MSVC_H_
20 // We don't have libdwarf, so stub it out.
21 using Dwarf_Ptr = void*;
22 using Dwarf_Unsigned = uint32_t;
24 #define DW_CFA_set_loc 0
26 #define DW_CFA_def_cfa 0
28 #define DW_CFA_same_value 0
29 #define DW_CFA_offset 0
30 #define DW_CFA_offset_extended_sf 0
32 #define DW_EH_PE_absptr 0
34 #endif