[PATCH] D47939: Retrieve a function PDB symbol correctly from nested blocks

Aleksandr Urakov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 00:45:12 PDT 2018


aleksandr.urakov updated this revision to Diff 153444.
aleksandr.urakov added a comment.

Thanks for catching that!

I have attached a diff with a fix for the test.


https://reviews.llvm.org/D47939

Files:
  lit/SymbolFile/PDB/function-nested-block.test


Index: lit/SymbolFile/PDB/function-nested-block.test
===================================================================
--- lit/SymbolFile/PDB/function-nested-block.test
+++ lit/SymbolFile/PDB/function-nested-block.test
@@ -4,4 +4,4 @@
 RUN: lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck %s
 
 CHECK: Found 1 functions:
-CHECK: name = "{{.*}}", mangled = "_main"
+CHECK: name = "{{.*}}", mangled = "{{_?}}main"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47939.153444.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/705c4f6d/attachment.bin>


More information about the llvm-commits mailing list