Yeoul Na

Results issues of Yeoul Na

This should fix a miscompilation bug found during adoption. When a base is lvalue and is wrapped in OVE, the compiler incorrectly creates a temporary and maps its address to...

Enable counted_by attribute on void * pointers to align with upstream behavior. ### Changes needed: - Clang codegen: Handle void * with counted_by - Consteval: Treat void * as 1-byte...

clang:bounds-safety

Proactively incorporate late parsing refactors from https://github.com/llvm/llvm-project/pull/179612 to minimize auto-merger conflicts during future upstream syncs.

clang:bounds-safety

Upstream PR: https://github.com/llvm/llvm-project/pull/199241 Related upstream issue: https://github.com/llvm/llvm-project/issues/197250 ## What upstream is changing The PR introduces a new `CThisExpr` AST node — a C-side analogue of `CXXThisExpr` — so that field...

clang:bounds-safety

Currently, the downstream implementation makes `__single` part of the canonical type, but we may want to keep it as a sugar type (`AttributedType`) since it does not change the pointer...

clang:bounds-safety

# [BoundsSafety] Refactoring Plan: Late Parsing for Bounds Safety Type Attributes (v2) **Supersedes #12758.** v1 captured the initial plan to replace the index-tracking late-parsing mechanism with a placeholder-type + TreeTransform...

clang:bounds-safety

The four inc/dec visitors in ScalarExprEmitter emitted the subexpression's lvalue via EmitLValue, bypassing EmitCheckedLValue. For an ArraySubscriptExpr, that emits the ASE with Accessed=false, which produces two different bugs: * -fsanitize=array-bounds:...

…4125) Split out from #179612 to make review easier. No functional change. This introduces `LateParsedAttrType`, a new AST placeholder type used during late parsing of type attributes. The actual late...

clang:bounds-safety

According to https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Driver/Types.def#L78 and https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Overall-Options.html, it seems `.s` should be treated as `-x assembler`, but it seems the driver treats `.s` as `-x assembler-with-cpp`. Steps to reproduce: ``` touch empty.s...

invalid
clang:driver

`IsBoundsSafetyCounter` is used to indicate that the field is referred to by another field that has `__counted_by` or friends. `__counted_by` will be extended to be used on a variable. Hence,...

clang:bounds-safety