diff options
author | Fangrui Song <i@maskray.me> | 2023-06-14 23:57:03 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-06-14 23:57:03 -0700 |
commit | 742040a7f476302f2b582e44945d08f875fb3254 (patch) | |
tree | 6c4fa81863c153d25e7bf6b37537ac94b0e29c9e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 280930816fe0ddbf183a077296e32a87be1f8a8a (diff) | |
download | llvm-742040a7f476302f2b582e44945d08f875fb3254.zip llvm-742040a7f476302f2b582e44945d08f875fb3254.tar.gz llvm-742040a7f476302f2b582e44945d08f875fb3254.tar.bz2 |
[MC] Properly report errors for .subsection
For the out-of-range error, MCConstantExpr doesn't have a location, so we
can only show "<unknown>:0:".
Also, allow subsection numbers up to 2147483647, which is the maximum value GNU
assembler supports. (GNU assembler also supports negative numbers.)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions