bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.36k stars 397 forks source link

Make fallthroughs explicit by updating libbacktrace #647

Closed r-barnes closed 3 months ago

r-barnes commented 4 months ago

Is there an existing issue for this?

Current Behavior

LLVM complains about implicit fallthroughs.

Expected Behavior

All fallthroughs are explicit.

Steps To Reproduce

Compile with -Wimplicit-fallthrough in LLVM.

Memray Version

master

Python Version

3.10

Operating System

Linux

Anything else?

I've submitted an upstream PR https://github.com/ianlancetaylor/libbacktrace/pull/130 to fix this problem in libbacktrace. I'm opening this issue to placehold that once that (presumably) gets merged, updating memray would fix implicit fallthroughs for LLVM.