diff options
author | Tamir Duberstein <tamird@gmail.com> | 2023-07-27 10:26:58 -0400 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2023-08-03 09:18:12 -0400 |
commit | 055893beacb34441467eb997a270a620c57c138f (patch) | |
tree | d889cd9991f92cb05c63dda0bedc27c515425ba1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c9783d2bda95ec6921b3ca2df930b17af3a6c7b1 (diff) | |
download | llvm-055893beacb34441467eb997a270a620c57c138f.zip llvm-055893beacb34441467eb997a270a620c57c138f.tar.gz llvm-055893beacb34441467eb997a270a620c57c138f.tar.bz2 |
[BPF] Don't crash on missing line info
When compiling Rust code we may end up with calls to functions provided
by other code units. Presently this code crashes on a null pointer
dereference - this patch avoids that crash and adds a test.
Reviewed By: ast
Differential Revision: https://reviews.llvm.org/D156446
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions