diff options
| author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-09 00:40:50 +0000 |
|---|---|---|
| committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-07-09 00:40:50 +0000 |
| commit | 342595f832b1241340410596d67e12415a7f4c68 (patch) | |
| tree | ed3ee1b829012ff74a1e5b1e6ac7cf12fe329d33 /llvm/test | |
| parent | 2552a099783234fd560bb63ade85fa97d562a5c4 (diff) | |
| download | bcm5719-llvm-342595f832b1241340410596d67e12415a7f4c68.tar.gz bcm5719-llvm-342595f832b1241340410596d67e12415a7f4c68.zip | |
[ms-coff] Add a test for proper handling of full Windows path names in the .drectve section
Summary: This test ensures that we can correctly specify a full Windows path to the clang ASAN runtime libraries. This is in preparation to fix PR20246.
Reviewers: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D4427
llvm-svn: 212580
Diffstat (limited to 'llvm/test')
| -rwxr-xr-x | llvm/test/MC/COFF/linker-options.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/COFF/linker-options.ll b/llvm/test/MC/COFF/linker-options.ll index de119417447..0be74e57ad6 100755 --- a/llvm/test/MC/COFF/linker-options.ll +++ b/llvm/test/MC/COFF/linker-options.ll @@ -5,6 +5,7 @@ metadata !{ metadata !"/DEFAULTLIB:msvcrt.lib" }, metadata !{ metadata !"/DEFAULTLIB:msvcrt.lib", metadata !"/DEFAULTLIB:secur32.lib" }, + metadata !{ metadata !"/DEFAULTLIB:C:\5Cpath to\5Casan_rt.lib" }, metadata !{ metadata !"/with spaces" } } } !llvm.module.flags = !{ !0 } @@ -17,5 +18,6 @@ define dllexport void @foo() { ; CHECK: .ascii " /DEFAULTLIB:msvcrt.lib" ; CHECK: .ascii " /DEFAULTLIB:msvcrt.lib" ; CHECK: .ascii " /DEFAULTLIB:secur32.lib" +; CHECK: .ascii " \"/DEFAULTLIB:C:\\path to\\asan_rt.lib\"" ; CHECK: .ascii " \"/with spaces\"" ; CHECK: .ascii " /EXPORT:_foo" |

