aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2022-09-03 11:26:29 +0530
committerUday Bondhugula <uday@polymagelabs.com>2022-09-08 13:47:48 +0530
commit047c7aa96dadf8a2c71a29e2df610d628d9e7e3e (patch)
treeb78d100d9ff7859bbde3a20c182b6a32554e922b /llvm/lib/Object/MachOObjectFile.cpp
parent273b3350d2700b7f2a4e367594bb4ba12e0b8e8e (diff)
downloadllvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.zip
llvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.tar.gz
llvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.tar.bz2
Improve diagnostic when emitting operations with regions
This has a broad impact on diagnostics that attach an operation. Ops with one or more regions will now be printed on a new line. It was confusing and hard to read with a trailing first line for ops with regions. Before: ``` <unknown>:0: note: see current operation: affine.for %arg3 = 0 to 8192 { affine.for %arg4 = 0 to 8192 step 512 { affine.for %arg5 = 0 to 8192 step 128 { ... ``` After: ``` <unknown>:0: note: see current operation: affine.for %arg3 = 0 to 8192 { affine.for %arg4 = 0 to 8192 step 512 { affine.for %arg5 = 0 to 8192 step 128 { ... ``` Differential Revision: https://reviews.llvm.org/D132645
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions