[libcxx-commits] [libcxx] [libc++] Disable _LIBCPP_NODEBUG temporarily (PR #122393)

Michael Buch via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 14 08:05:21 PST 2025


Michael137 wrote:

Reproducer:
```
xcrun ${BUILD_DIR}/bin/clang++ \
    -fmodules \
    -gmodules \
    -fcxx-modules \
    -g -O0 \
    -fno-limit-debug-info \
    -nostdlib++ \
    -nostdinc++ \
    -cxx-isystem ${BUILD_DIR}/include/c++/v1 \
    -c \
    -o main.o \
    main.mm
```

Where `main.mm` is just:
```
#import <objc/NSObject.h>
```
I.e., we're crashing building the `ObjectiveC` module

https://github.com/llvm/llvm-project/pull/122393


More information about the libcxx-commits mailing list