[llvm] [symbolizer] Support symbol+offset lookup (PR #75067)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 06:06:45 PST 2023


================
@@ -54,7 +54,7 @@ RUN: llvm-addr2line -e %p/Inputs/symbols.so func_01+0x0C | FileCheck --check-pre
 RUN: llvm-symbolizer --obj=%p/Inputs/symbols.so func_01+014 | FileCheck --check-prefix=SYMLINE1 %s
 RUN: llvm-addr2line -e %p/Inputs/symbols.so func_01+014 | FileCheck --check-prefix=SYMLINE1 %s
 
-# If '+' is not followed by a number, it is a part of symbol, not an offset separator.
+# If '+' is not followed by a number, it is a part of the symbol name, not an offset separator.
----------------
jh7370 wrote:

Sorry, my mistake, this should be as suggested.
```suggestion
# If '+' is not followed by a number, it is part of the symbol name, not an offset separator.
```

https://github.com/llvm/llvm-project/pull/75067


More information about the llvm-commits mailing list