mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 13:42:38 +00:00
In practice, I am unable to call constructors like `SemIR::InstId` from a debugger. I first tried to use https://clang.llvm.org/docs/AttributeReference.html#noinline to make some non-inline calls to the constructor, but that didn't work: ``` toolchain/sem_ir/dump.cpp:245:23: error: 'noinline' attribute is ignored because there exists no call expression inside the statement [-Werror,-Wignored-attributes] 245 | [[clang::noinline]] return InstId(inst); | ``` Co-authored-by: Josh L <josh11b@users.noreply.github.com>