aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-11-01 16:23:39 +0100
committerGitHub <noreply@github.com>2024-11-01 16:23:39 +0100
commit3494ee95902cef62f767489802e469c58a13ea04 (patch)
tree2fcd12af77d674572a3db1a2862eee0820c6f6d9 /llvm/lib/Object/COFFObjectFile.cpp
parentb74e588e1f460eb48ceb1a30cf8ac870b7537dcc (diff)
downloadllvm-3494ee95902cef62f767489802e469c58a13ea04.zip
llvm-3494ee95902cef62f767489802e469c58a13ea04.tar.gz
llvm-3494ee95902cef62f767489802e469c58a13ea04.tar.bz2
Reapply [APInt] Enable APInt ctor assertion by default (#114539)
This enables the assertion introduced in https://github.com/llvm/llvm-project/pull/106524, which checks that the value passed to the constructor is indeed a valid N-bit signed or unsigned integer. Places that previously violated the assertion were updated in advance, e.g. in https://github.com/llvm/llvm-project/pull/80309. It is possible to opt-out of the check and restore the previous behavior by setting implicitTrunc=true. ----- The buildbot failures from the previous attempt should be fixed by a18dd29077c84fc076a4ed431d9e815a3d0b6f24 and e2074c60bb3982cd8afb6408670332ea27da6383.
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions