Skip to content

Commit ff93cd1

Browse files
author
Github Executorch
committed
Fix TOB-EXECUTORCH-36: replace remapped_ids.at() with safe REMAP_ID macro
Introduce REMAP_ID macro that uses find() + ET_CHECK_OR_RETURN_ERROR instead of std::unordered_map::at(), which throws std::out_of_range in noexcept functions causing std::terminate(). Applied across all ~30 node-definition functions in XNNCompiler. Authored-with: Claude
1 parent 21d9c64 commit ff93cd1

1 file changed

Lines changed: 175 additions & 92 deletions

File tree

0 commit comments

Comments
 (0)