[llvm-commits] CVS: llvm/test/Regression/DebugInfo/2006-11-20-GlobalSymbols.cpp

Jim Laskey jlaskey at apple.com
Mon Nov 20 13:58:16 PST 2006



Changes in directory llvm/test/Regression/DebugInfo:

2006-11-20-GlobalSymbols.cpp added (r1.1)
---
Log message:

Test for PR1013: http://llvm.org/PR1013 .

---
Diffs of the changes:  (+11 -0)

 2006-11-20-GlobalSymbols.cpp |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/Regression/DebugInfo/2006-11-20-GlobalSymbols.cpp
diff -c /dev/null llvm/test/Regression/DebugInfo/2006-11-20-GlobalSymbols.cpp:1.1
*** /dev/null	Mon Nov 20 15:58:12 2006
--- llvm/test/Regression/DebugInfo/2006-11-20-GlobalSymbols.cpp	Mon Nov 20 15:58:02 2006
***************
*** 0 ****
--- 1,11 ----
+ // Check to make sure debug symbols use the correct name for globals and
+ // functions.  Will not assemble if it fails to.
+ // RUN: %llvmgcc -O0 -g -c %s
+ 
+ // PR1013
+ 
+ int foo __asm__("f\001oo");
+ 
+ int bar() {
+   return foo;
+ }






More information about the llvm-commits mailing list