diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-22 00:16:24 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-22 00:16:24 +0000 |
| commit | d1beb07d390b73d9bae45286737eaf2f58bddfa3 (patch) | |
| tree | c4e24e0cbe55a01956accffc856070fb13332b33 /llvm/test/Linker/2003-01-30-LinkerRename.ll | |
| parent | 1eac9a159caeabdce415479ffec0934aa4a9bdbc (diff) | |
| download | bcm5719-llvm-d1beb07d390b73d9bae45286737eaf2f58bddfa3.tar.gz bcm5719-llvm-d1beb07d390b73d9bae45286737eaf2f58bddfa3.zip | |
Have a single way for creating unique value names.
We had two code paths. One would create names like "foo.1" and the other
names like "foo1".
For globals it is important to use "foo.1" to help C++ name demangling.
For locals there is no strong reason to go one way or the other so I
kept the most common mangling (foo1).
llvm-svn: 253804
Diffstat (limited to 'llvm/test/Linker/2003-01-30-LinkerRename.ll')
| -rw-r--r-- | llvm/test/Linker/2003-01-30-LinkerRename.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Linker/2003-01-30-LinkerRename.ll b/llvm/test/Linker/2003-01-30-LinkerRename.ll index 1e25d3eef0c..1844e936baf 100644 --- a/llvm/test/Linker/2003-01-30-LinkerRename.ll +++ b/llvm/test/Linker/2003-01-30-LinkerRename.ll @@ -2,9 +2,9 @@ ; RUN: llvm-as %s -o %t.2.bc ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s -; CHECK: @bar = global i32 ()* @foo2 +; CHECK: @bar = global i32 ()* @foo.2 -; CHECK: define internal i32 @foo2() { +; CHECK: define internal i32 @foo.2() { ; CHECK-NEXT: ret i32 7 ; CHECK-NEXT: } |

