aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-06-14 23:57:03 -0700
committerFangrui Song <i@maskray.me>2023-06-14 23:57:03 -0700
commit742040a7f476302f2b582e44945d08f875fb3254 (patch)
tree6c4fa81863c153d25e7bf6b37537ac94b0e29c9e /clang/lib/Frontend/CompilerInvocation.cpp
parent280930816fe0ddbf183a077296e32a87be1f8a8a (diff)
downloadllvm-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