projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a raw_stream to implement the mangler.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fastcall-correct-mangling.ll
diff --git
a/test/CodeGen/X86/fastcall-correct-mangling.ll
b/test/CodeGen/X86/fastcall-correct-mangling.ll
index 15cffa4fbd0620639b23a68805a68b0de01a4f12..00dc44e75e8f5b1a12eede5eacf3e99ab2b36ec8 100644
(file)
--- a/
test/CodeGen/X86/fastcall-correct-mangling.ll
+++ b/
test/CodeGen/X86/fastcall-correct-mangling.ll
@@
-24,3
+24,10
@@
define x86_fastcallcc i32 @"\01DoNotMangle"(i32 %a) {
entry:
ret i32 %a
}
+
+define private x86_fastcallcc void @dontCrash() {
+; The name is fairly arbitrary since it is private. Just don't crash.
+; CHECK32-LABEL: {{^}}L@dontCrash@0:
+; CHECK64-LABEL: {{^}}.LdontCrash:
+ ret void
+}