mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
845d1a6a17
r226830 moved the declaration of Buf to a nested scope, resulting in a dangling reference (in StringRef Name), and a use-after-free. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240357 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
475 B
ArmAsm
17 lines
475 B
ArmAsm
// Regression test for PR23914.
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r -t | FileCheck %s
|
|
|
|
defined:
|
|
.symver defined, aaaaaaaaaaaaaaaaaa@@@AAAAAAAAAAAAA
|
|
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: aaaaaaaaaaaaaaaaaa@@AAAAAAAAAAAAA
|
|
// CHECK-NEXT: Value: 0x0
|
|
// CHECK-NEXT: Size: 0
|
|
// CHECK-NEXT: Binding: Local
|
|
// CHECK-NEXT: Type: None
|
|
// CHECK-NEXT: Other: 0
|
|
// CHECK-NEXT: Section: .text
|
|
// CHECK-NEXT: }
|
|
|