- 
                Notifications
    You must be signed in to change notification settings 
- Fork 15k
Open
Milestone
Description
Build failure of flang 21.1.0 on macOS 10.14:
/opt/local/var/macports/build/lldb-21-46f2584b/work/llvm-project-21.1.0.src/lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp:212:26: error: use of undeclared identifier 'VM_MEMORY_SANITIZER'
  212 |       m_data.user_tag == VM_MEMORY_SANITIZER) {
      |                          ^
1 error generated.
Maybe these lines are needed in that file too:
llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
Lines 112 to 115 in 35a3ae3
| // From <mach/vm_statistics.h>, but not on older OSs. | |
| #ifndef VM_MEMORY_SANITIZER | |
| #define VM_MEMORY_SANITIZER 99 | |
| #endif | 
Metadata
Metadata
Assignees
Type
Projects
Status
Needs Fix