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

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


================
@@ -64,7 +64,7 @@ RUN: llvm-addr2line --obj=%p/Inputs/symbols.so func_01+abc | FileCheck --check-p
 RUN: llvm-symbolizer --obj=%p/Inputs/symbols.so func_01+0A | FileCheck --check-prefix=NONEXISTENT %s
 RUN: llvm-addr2line --obj=%p/Inputs/symbols.so func_01+0A | FileCheck --check-prefix=NONEXISTENT %s
 
-# If '+' is not preceded by a symbol, it is a part of symbol, not an offset separator.
+# If '+' is not preceded by a symbol, it is a part of a symbol name, not an offset separator.
----------------
jh7370 wrote:

```suggestion
# If '+' is not preceded by a symbol, it is part of a symbol name, not an offset separator.
```

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


More information about the llvm-commits mailing list