[PATCH] D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 20 12:34:43 PST 2023
aprantl added a comment.
Code LGTM, it would be nice if we could further reduce the test case.
================
Comment at: clang/test/CodeGenObjC/objc-arc-ubsan-debugging.m:2
+// RUN: %clang -x objective-c -target arm64-apple-macos12.0 -fobjc-arc -std=gnu99 -O0 -fsanitize=undefined -fsanitize=nullability -c %s -v -g
+#include <Foundation/Foundation.h>
+
----------------
Could you get by with just defining NSObject inline and forward-declaring NSString? Including Foundation.h is very expensive.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142243/new/
https://reviews.llvm.org/D142243
More information about the cfe-commits
mailing list