Skip to content

Commit

Permalink
Merge pull request #35882 from gaurav1086:hlo_parser_nullptr_derefere…
Browse files Browse the repository at this point in the history
…ncing

PiperOrigin-RevId: 291440430
Change-Id: Ie588fccf880c234f15140421cabf993c606e3017
  • Loading branch information
tensorflower-gardener committed Jan 24, 2020
2 parents a67308a + 0f909a3 commit 6370903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow/compiler/xla/service/hlo_parser.cc
Expand Up @@ -635,6 +635,7 @@ bool HloParserImpl::ParseInstructionList(HloComputation** computation,
// This means some instruction was marked as ROOT but we didn't find it in
// the pool, which should not happen.
if (root_node == nullptr) {
// LOG(FATAL) crashes the program by calling abort().
LOG(FATAL) << "instruction " << root_name
<< " was marked as ROOT but the parser has not seen it before";
}
Expand Down

0 comments on commit 6370903

Please sign in to comment.